]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-101100: Resolve reference warnings in library/xml.sax.handler.rst (#136612)
authorWeilin Du <108666168+LamentXU123@users.noreply.github.com>
Wed, 3 Sep 2025 00:35:21 +0000 (08:35 +0800)
committerGitHub <noreply@github.com>
Wed, 3 Sep 2025 00:35:21 +0000 (01:35 +0100)
Doc/library/xml.sax.handler.rst
Doc/tools/.nitignore

index c2c9d6424b507226d3e749cba5a1a91319888de1..38ca4507d81e760b3910ee9dd769395234f84edd 100644 (file)
@@ -248,8 +248,7 @@ events in the input document:
 
    The *name* parameter contains the raw XML 1.0 name of the element type as a
    string and the *attrs* parameter holds an object of the
-   :class:`~xml.sax.xmlreader.Attributes`
-   interface (see :ref:`attributes-objects`) containing the attributes of
+   :ref:`Attributes <attributes-objects>` interface containing the attributes of
    the element.  The object passed as *attrs* may be re-used by the parser; holding
    on to a reference to it is not a reliable way to keep a copy of the attributes.
    To keep a copy of the attributes, use the :meth:`copy` method of the *attrs*
@@ -271,8 +270,7 @@ events in the input document:
    The *name* parameter contains the name of the element type as a ``(uri,
    localname)`` tuple, the *qname* parameter contains the raw XML 1.0 name used in
    the source document, and the *attrs* parameter holds an instance of the
-   :class:`~xml.sax.xmlreader.AttributesNS` interface (see
-   :ref:`attributes-ns-objects`)
+   :ref:`AttributesNS <attributes-ns-objects>` interface
    containing the attributes of the element.  If no namespace is associated with
    the element, the *uri* component of *name* will be ``None``.  The object passed
    as *attrs* may be re-used by the parser; holding on to a reference to it is not
index 31b2e567f11056f49c6f7b4f674c82b513f124ad..7d0512fd0fa72dbc5b0f152578bfc84ad60601e6 100644 (file)
@@ -50,7 +50,6 @@ Doc/library/wsgiref.rst
 Doc/library/xml.dom.minidom.rst
 Doc/library/xml.dom.pulldom.rst
 Doc/library/xml.dom.rst
-Doc/library/xml.sax.handler.rst
 Doc/library/xml.sax.reader.rst
 Doc/library/xml.sax.rst
 Doc/library/xmlrpc.client.rst