[Python-checkins] cpython (merge 3.3 -> default): Issue #16711: Fix required method names for collections.Iterator
andrew.svetlov
python-checkins at python.org
Tue Dec 18 14:53:53 CET 2012
http://hg.python.org/cpython/rev/85127ec7d724
changeset: 80926:85127ec7d724
parent: 80923:a85673b55177
parent: 80925:864bb05be215
user: Andrew Svetlov <andrew.svetlov at gmail.com>
date: Tue Dec 18 15:53:39 2012 +0200
summary:
Issue #16711: Fix required method names for collections.Iterator
Thanks to Inada Naoki
files:
Doc/library/collections.abc.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/collections.abc.rst b/Doc/library/collections.abc.rst
--- a/Doc/library/collections.abc.rst
+++ b/Doc/library/collections.abc.rst
@@ -90,7 +90,7 @@
.. class:: Iterator
- ABC for classes that provide the :meth:`__iter__` and :meth:`next` methods.
+ ABC for classes that provide the :meth:`__iter__` and :meth:`__next__` methods.
See also the definition of :term:`iterator`.
.. class:: Sequence
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list