Skip to content

Commit f31c2f9

Browse files
committed
Use :ref: for NodeList
1 parent 01a4bee commit f31c2f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/reference/datamodel.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1896,9 +1896,9 @@ falling back to :meth:`~object.__getitem__`). [#]_
18961896
When implementing a class that emulates any built-in type, it is important that
18971897
the emulation only be implemented to the degree that it makes sense for the
18981898
object being modelled. For example, some sequences may work well with retrieval
1899-
of individual elements, but extracting a slice may not make sense. (One example
1900-
of this is the :class:`~xml.dom.NodeList` interface in the W3C's Document
1901-
Object Model.)
1899+
of individual elements, but extracting a slice may not make sense.
1900+
(One example of this is the :ref:`NodeList <dom-nodelist-objects>` interface
1901+
in the W3C's Document Object Model.)
19021902

19031903

19041904
.. _customization:

0 commit comments

Comments
 (0)