diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-18 13:48:10 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-18 13:48:10 (GMT) |
commit | 4001e96179543cf056613e65dcedc63716c6bc21 (patch) | |
tree | ba87a0c70dac0c7044074cd3c4eb4946abfe8f9d | |
parent | 57f3487994b44be15d78834955080e8e6c0bc688 (diff) | |
download | cpython-4001e96179543cf056613e65dcedc63716c6bc21.zip cpython-4001e96179543cf056613e65dcedc63716c6bc21.tar.gz cpython-4001e96179543cf056613e65dcedc63716c6bc21.tar.bz2 |
Issue #16711: Fix required method names for collections.Iterator
Thanks to Inada Naoki
-rw-r--r-- | Doc/library/collections.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index f63a853..7a2802d 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -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 |