summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.dom.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-08-29 07:34:23 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-08-29 07:34:23 (GMT)
commit7653e26eccce71afba74e17e50ccbbbd92ad9f90 (patch)
treea2c5a8da5366775e0af2cd99173f184ac994d734 /Doc/library/xml.dom.rst
parent08350fb639a54b8977784f09ee1741441650724f (diff)
downloadcpython-7653e26eccce71afba74e17e50ccbbbd92ad9f90.zip
cpython-7653e26eccce71afba74e17e50ccbbbd92ad9f90.tar.gz
cpython-7653e26eccce71afba74e17e50ccbbbd92ad9f90.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 565dc84..541d649 100644
--- a/Doc/library/xml.dom.rst
+++ b/Doc/library/xml.dom.rst
@@ -441,14 +441,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: