mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Issue #16711: Fix required method names for collections.Iterator
Thanks to Inada Naoki
This commit is contained in:
commit
e2303f8970
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue