[issue16711] s/next()/__next__/ in collections.abc.Iterator document.

New submission from INADA Naoki: http://docs.python.org/3/library/collections.abc.html#collections.abc.Iterat...
ABC for classes that provide the __iter__() and next() methods.
"next()" should be "__next__()" for Python 3. ---------- assignee: docs@python components: Documentation messages: 177681 nosy: docs@python, naoki priority: normal severity: normal status: open title: s/next()/__next__/ in collections.abc.Iterator document. versions: Python 3.3 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16711> _______________________________________

Roundup Robot added the comment: New changeset 259516fddb6c by Andrew Svetlov in branch '3.2': Issue #16711: Fix required method names for collections.Iterator http://hg.python.org/cpython/rev/259516fddb6c New changeset 864bb05be215 by Andrew Svetlov in branch '3.3': Issue #16711: Fix required method names for collections.Iterator http://hg.python.org/cpython/rev/864bb05be215 New changeset 85127ec7d724 by Andrew Svetlov in branch 'default': Issue #16711: Fix required method names for collections.Iterator http://hg.python.org/cpython/rev/85127ec7d724 ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16711> _______________________________________

Andrew Svetlov added the comment: Fixed. Thanks. ---------- nosy: +asvetlov resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.2, Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16711> _______________________________________

Roundup Robot added the comment: New changeset 259516fddb6c by Andrew Svetlov in branch '3.2': Issue #16711: Fix required method names for collections.Iterator http://hg.python.org/cpython/rev/259516fddb6c New changeset 864bb05be215 by Andrew Svetlov in branch '3.3': Issue #16711: Fix required method names for collections.Iterator http://hg.python.org/cpython/rev/864bb05be215 New changeset 85127ec7d724 by Andrew Svetlov in branch 'default': Issue #16711: Fix required method names for collections.Iterator http://hg.python.org/cpython/rev/85127ec7d724 ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16711> _______________________________________

Andrew Svetlov added the comment: Fixed. Thanks. ---------- nosy: +asvetlov resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.2, Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16711> _______________________________________
participants (3)
-
Andrew Svetlov
-
INADA Naoki
-
Roundup Robot