summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-12-10 14:51:27 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-12-10 14:51:27 (GMT)
commit892dbd18e10a9d2dde44d43840d2e5e30fca8f91 (patch)
tree0a572a351dec5e6e697ded4dafcbab1888182164 /Doc/reference
parent5de4a3cfc5d410116ef1b1cd2d3726518f108776 (diff)
parentc9f5f2ddc7ca32af4d103e641395420d9d9986a5 (diff)
downloadcpython-892dbd18e10a9d2dde44d43840d2e5e30fca8f91.zip
cpython-892dbd18e10a9d2dde44d43840d2e5e30fca8f91.tar.gz
cpython-892dbd18e10a9d2dde44d43840d2e5e30fca8f91.tar.bz2
Merge: #22918: Drop obsolete mention of 'keys' in datamodel __iter__ docs.
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/datamodel.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 896416e..3f3c32b 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -1926,8 +1926,7 @@ through the container; for mappings, :meth:`__iter__` should be the same as
This method is called when an iterator is required for a container. This method
should return a new iterator object that can iterate over all the objects in the
- container. For mappings, it should iterate over the keys of the container, and
- should also be made available as the method :meth:`keys`.
+ container. For mappings, it should iterate over the keys of the container.
Iterator objects also need to implement this method; they are required to return
themselves. For more information on iterator objects, see :ref:`typeiter`.