mirror of https://github.com/python/cpython
Issue #16711: Fix required method names for collections.Iterator
Thanks to Inada Naoki
This commit is contained in:
commit
a9466c6530
|
@ -90,7 +90,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
|
||||
|
|
Loading…
Reference in New Issue