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

Skip to content

Commit e2303f8

Browse files
committed
Issue #16711: Fix required method names for collections.Iterator
Thanks to Inada Naoki
2 parents b6375a2 + 4001e96 commit e2303f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/collections.abc.rst

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

9191
.. class:: Iterator
9292

93-
ABC for classes that provide the :meth:`__iter__` and :meth:`next` methods.
93+
ABC for classes that provide the :meth:`__iter__` and :meth:`__next__` methods.
9494
See also the definition of :term:`iterator`.
9595

9696
.. class:: Sequence

0 commit comments

Comments
 (0)