]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Change virtual class name of __iter__ to "object" in order to make it linkable.
authorGeorg Brandl <georg@python.org>
Mon, 7 Jan 2008 09:07:38 +0000 (09:07 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 7 Jan 2008 09:07:38 +0000 (09:07 +0000)
Doc/library/stdtypes.rst

index 5d7698f1e5fbfa3054e059df193879fae3e47e08..df5eeff874084a2ea2ee316b2968eb69fba2078b 100644 (file)
@@ -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