summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-12-10 14:51:01 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-12-10 14:51:01 (GMT)
commitc9f5f2ddc7ca32af4d103e641395420d9d9986a5 (patch)
tree2c608a83d8ed0685a7c9da57debc39f077ea77e1 /Doc
parent884afd92f5a194e326df2be8279d4ab160c7b0c9 (diff)
downloadcpython-c9f5f2ddc7ca32af4d103e641395420d9d9986a5.zip
cpython-c9f5f2ddc7ca32af4d103e641395420d9d9986a5.tar.gz
cpython-c9f5f2ddc7ca32af4d103e641395420d9d9986a5.tar.bz2
#22918: Drop obsolete mention of 'keys' in datamodel __iter__ docs.
Patch by Chaitanya Agrawal.
Diffstat (limited to 'Doc')
-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 43abf82..618c257 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`.