]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #16711: Fix required method names for collections.Iterator
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Tue, 18 Dec 2012 13:48:10 +0000 (15:48 +0200)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Tue, 18 Dec 2012 13:48:10 +0000 (15:48 +0200)
Thanks to Inada Naoki

Doc/library/collections.rst

index f63a853c870c7e0d540fe0534a427a916eda03e7..7a2802df98a18f5a48f05055bb6b803394e220c8 100644 (file)
@@ -1057,7 +1057,7 @@ ABC                        Inherits from          Abstract Methods        Mixin
 
 .. 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