Skip to content

Commit 718d5d8

Browse files
authored
Update xml.sax.handler.rst
1 parent 0d4fd10 commit 718d5d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/xml.sax.handler.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ events in the input document:
248248

249249
The *name* parameter contains the raw XML 1.0 name of the element type as a
250250
string and the *attrs* parameter holds an object of the
251-
:class:`~xml.sax.xmlreader.Attributes`
251+
:class:`~xml.sax.xmlreader.AttributesImpl`
252252
interface (see :ref:`attributes-objects`) containing the attributes of
253253
the element. The object passed as *attrs* may be re-used by the parser; holding
254254
on to a reference to it is not a reliable way to keep a copy of the attributes.
@@ -271,7 +271,7 @@ events in the input document:
271271
The *name* parameter contains the name of the element type as a ``(uri,
272272
localname)`` tuple, the *qname* parameter contains the raw XML 1.0 name used in
273273
the source document, and the *attrs* parameter holds an instance of the
274-
:class:`~xml.sax.xmlreader.AttributesNS` interface (see
274+
:class:`~xml.sax.xmlreader.AttributesNSImpl` interface (see
275275
:ref:`attributes-ns-objects`)
276276
containing the attributes of the element. If no namespace is associated with
277277
the element, the *uri* component of *name* will be ``None``. The object passed

0 commit comments

Comments
 (0)