From: Georg Brandl Date: Mon, 7 Jan 2008 09:07:38 +0000 (+0000) Subject: Change virtual class name of __iter__ to "object" in order to make it linkable. X-Git-Tag: v2.6a1~701 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=66502c11e9aae697f29f806d210a27b471a75eb7;p=thirdparty%2FPython%2Fcpython.git Change virtual class name of __iter__ to "object" in order to make it linkable. --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 5d7698f1e5fb..df5eeff87408 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -470,7 +470,7 @@ One method needs to be defined for container objects to provide iteration support: -.. method:: container.__iter__() +.. method:: object.__iter__() Return an iterator object. The object is required to support the iterator protocol described below. If a container supports different types of