From 4001e96179543cf056613e65dcedc63716c6bc21 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Tue, 18 Dec 2012 15:48:10 +0200 Subject: Issue #16711: Fix required method names for collections.Iterator Thanks to Inada Naoki --- Doc/library/collections.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12