[Python-checkins] cpython (3.2): Issue #16711: Fix required method names for collections.Iterator

andrew.svetlov python-checkins at python.org
Tue Dec 18 14:53:51 CET 2012


http://hg.python.org/cpython/rev/259516fddb6c
changeset:   80924:259516fddb6c
branch:      3.2
parent:      80917:dcefa2c8386b
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Tue Dec 18 15:48:10 2012 +0200
summary:
  Issue #16711: Fix required method names for collections.Iterator

Thanks to Inada Naoki

files:
  Doc/library/collections.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -1057,7 +1057,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