Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c22cc8f

Browse files
gh-101100: Resolve reference warnings in library/xml.sax.handler.rst (#136612)
1 parent 98b4cd6 commit c22cc8f

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
@@ -50,7 +50,6 @@ Doc/library/wsgiref.rst
5050
Doc/library/xml.dom.minidom.rst
5151
Doc/library/xml.dom.pulldom.rst
5252
Doc/library/xml.dom.rst
53-
Doc/library/xml.sax.handler.rst
5453
Doc/library/xml.sax.reader.rst
5554
Doc/library/xml.sax.rst
5655
Doc/library/xmlrpc.client.rst

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /