Skip to content

Commit 01d95d4

Browse files
[3.13] pythongh-101100: Resolve reference warnings in library/xml.sax.handler.rst (pythonGH-136612) (python#138422)
Co-authored-by: Weilin Du <[email protected]>
1 parent 3a2e436 commit 01d95d4

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Doc/library/xml.sax.handler.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +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`
252-
interface (see :ref:`attributes-objects`) containing the attributes of
251+
:ref:`Attributes <attributes-objects>` interface containing the attributes of
253252
the element. The object passed as *attrs* may be re-used by the parser; holding
254253
on to a reference to it is not a reliable way to keep a copy of the attributes.
255254
To keep a copy of the attributes, use the :meth:`copy` method of the *attrs*
@@ -271,8 +270,7 @@ events in the input document:
271270
The *name* parameter contains the name of the element type as a ``(uri,
272271
localname)`` tuple, the *qname* parameter contains the raw XML 1.0 name used in
273272
the source document, and the *attrs* parameter holds an instance of the
274-
:class:`~xml.sax.xmlreader.AttributesNS` interface (see
275-
:ref:`attributes-ns-objects`)
273+
:ref:`AttributesNS <attributes-ns-objects>` interface
276274
containing the attributes of the element. If no namespace is associated with
277275
the element, the *uri* component of *name* will be ``None``. The object passed
278276
as *attrs* may be re-used by the parser; holding on to a reference to it is not

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ Doc/library/wsgiref.rst
5151
Doc/library/xml.dom.minidom.rst
5252
Doc/library/xml.dom.pulldom.rst
5353
Doc/library/xml.dom.rst
54-
Doc/library/xml.sax.handler.rst
5554
Doc/library/xml.sax.reader.rst
5655
Doc/library/xml.sax.rst
5756
Doc/library/xmlrpc.client.rst

0 commit comments

Comments
 (0)