Skip to content

Commit 9c25cf3

Browse files
authored
Update xml.sax.handler.rst
1 parent 379b77c commit 9c25cf3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/xml.sax.handler.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ 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.AttributesImpl`
252-
interface (see :ref:`attributes-objects`) containing the attributes of
251+
:ref:`Attributes <attributes-object>` interface
252+
(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.
255255
To keep a copy of the attributes, use the :meth:`copy` method of the *attrs*
@@ -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.AttributesNSImpl` interface (see
274+
:ref:`Attributes <attributes-ns-object>` 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)