summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.dom.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-08-29 07:28:44 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-08-29 07:28:44 (GMT)
commit15e6590774956a5bbb3a901bf5328869eb44ad49 (patch)
tree19ab1592f8fa1aefeab9c2cff2418ad10c1bf212 /Doc/library/xml.dom.rst
parent3b44a409de0ac3ab2558e77716b8f0c821db6cde (diff)
downloadcpython-15e6590774956a5bbb3a901bf5328869eb44ad49.zip
cpython-15e6590774956a5bbb3a901bf5328869eb44ad49.tar.gz
cpython-15e6590774956a5bbb3a901bf5328869eb44ad49.tar.bz2
Issue #18760: Improved cross-references in the xml package.
Diffstat (limited to 'Doc/library/xml.dom.rst')
-rw-r--r--Doc/library/xml.dom.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/library/xml.dom.rst b/Doc/library/xml.dom.rst
index 1a3a6a4..19512ed 100644
--- a/Doc/library/xml.dom.rst
+++ b/Doc/library/xml.dom.rst
@@ -422,14 +422,15 @@ objects:
In addition, the Python DOM interface requires that some additional support is
provided to allow :class:`NodeList` objects to be used as Python sequences. All
-:class:`NodeList` implementations must include support for :meth:`__len__` and
-:meth:`__getitem__`; this allows iteration over the :class:`NodeList` in
+:class:`NodeList` implementations must include support for
+:meth:`~object.__len__` and
+:meth:`~object.__getitem__`; this allows iteration over the :class:`NodeList` in
:keyword:`for` statements and proper support for the :func:`len` built-in
function.
If a DOM implementation supports modification of the document, the
-:class:`NodeList` implementation must also support the :meth:`__setitem__` and
-:meth:`__delitem__` methods.
+:class:`NodeList` implementation must also support the
+:meth:`~object.__setitem__` and :meth:`~object.__delitem__` methods.
.. _dom-documenttype-objects: