Skip to content

Commit 7f8a079

Browse files
committed
Suppress self-references
1 parent ea6a659 commit 7f8a079

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Doc/library/xml.dom.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Node Objects
238238

239239
.. class:: Node
240240

241-
All of the components of an XML document are subclasses of :class:`Node`.
241+
All of the components of an XML document are subclasses of :class:`!Node`.
242242

243243

244244
.. attribute:: Node.nodeType
@@ -407,7 +407,7 @@ NodeList Objects
407407

408408
.. class:: NodeList
409409

410-
A :class:`NodeList` represents a sequence of nodes. These objects are used in
410+
A :class:`!NodeList` represents a sequence of nodes. These objects are used in
411411
two ways in the DOM Core recommendation: an :class:`Element` object provides
412412
one as its list of child nodes, and the :meth:`getElementsByTagName` and
413413
:meth:`getElementsByTagNameNS` methods of :class:`Node` return objects with this
@@ -450,13 +450,13 @@ DocumentType Objects
450450

451451
Information about the notations and entities declared by a document (including
452452
the external subset if the parser uses it and can provide the information) is
453-
available from a :class:`DocumentType` object. The :class:`DocumentType` for a
453+
available from a :class:`!DocumentType` object. The :class:`!DocumentType` for a
454454
document is available from the :class:`Document` object's :attr:`doctype`
455455
attribute; if there is no ``DOCTYPE`` declaration for the document, the
456456
document's :attr:`doctype` attribute will be set to ``None`` instead of an
457457
instance of this interface.
458458

459-
:class:`DocumentType` is a specialization of :class:`Node`, and adds the
459+
:class:`!DocumentType` is a specialization of :class:`Node`, and adds the
460460
following attributes:
461461

462462

@@ -510,7 +510,7 @@ Document Objects
510510

511511
.. class:: Document
512512

513-
A :class:`Document` represents an entire XML document, including its constituent
513+
A :class:`!Document` represents an entire XML document, including its constituent
514514
elements, attributes, processing instructions, comments etc. Remember that it
515515
inherits properties from :class:`Node`.
516516

@@ -592,7 +592,7 @@ Element Objects
592592

593593
.. class:: Element
594594

595-
:class:`Element` is a subclass of :class:`Node`, so inherits all the attributes
595+
:class:`!Element` is a subclass of :class:`Node`, so inherits all the attributes
596596
of that class.
597597

598598

@@ -698,7 +698,7 @@ Attr Objects
698698

699699
.. class:: Attr
700700

701-
:class:`Attr` inherits from :class:`Node`, so inherits all its attributes.
701+
:class:`!Attr` inherits from :class:`Node`, so inherits all its attributes.
702702

703703

704704
.. attribute:: Attr.name
@@ -733,7 +733,7 @@ NamedNodeMap Objects
733733

734734
.. class:: NamedNodeMap
735735

736-
:class:`NamedNodeMap` does *not* inherit from :class:`Node`.
736+
:class:`!NamedNodeMap` does *not* inherit from :class:`Node`.
737737

738738

739739
.. attribute:: NamedNodeMap.length
@@ -759,8 +759,8 @@ Comment Objects
759759

760760
.. class:: Comment
761761

762-
:class:`Comment` represents a comment in the XML document. It is a subclass of
763-
:class:`Node`, but cannot have child nodes.
762+
:class:`!Comment` represents a comment in the XML document.
763+
It is a subclass of :class:`Node`, but cannot have child nodes.
764764

765765

766766
.. attribute:: Comment.data
@@ -777,7 +777,7 @@ Text and CDATASection Objects
777777

778778
.. class:: Text
779779

780-
The :class:`Text` interface represents text in the XML document. If the parser
780+
The :class:`!Text` interface represents text in the XML document. If the parser
781781
and DOM implementation support the DOM's XML extension, portions of the text
782782
enclosed in CDATA marked sections are stored in :class:`CDATASection` objects.
783783
These two interfaces are identical, but provide different values for the

0 commit comments

Comments
 (0)