Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4001e96

Browse files
committed
Issue #16711: Fix required method names for collections.Iterator
Thanks to Inada Naoki
1 parent 57f3487 commit 4001e96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/collections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@ ABC Inherits from Abstract Methods Mixin
10571057

10581058
.. class:: Iterator
10591059

1060-
ABC for classes that provide the :meth:`__iter__` and :meth:`next` methods.
1060+
ABC for classes that provide the :meth:`__iter__` and :meth:`__next__` methods.
10611061
See also the definition of :term:`iterator`.
10621062

10631063
.. class:: Sequence

0 commit comments

Comments
 (0)