summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-07 09:07:38 (GMT)
committerGeorg Brandl <georg@python.org>2008-01-07 09:07:38 (GMT)
commit66502c11e9aae697f29f806d210a27b471a75eb7 (patch)
treeee4e0bf26ef9836ce61293361c9944e4a5375615
parentdc55f35f387479888019538a429f38104a8bc3b0 (diff)
downloadcpython-66502c11e9aae697f29f806d210a27b471a75eb7.zip
cpython-66502c11e9aae697f29f806d210a27b471a75eb7.tar.gz
cpython-66502c11e9aae697f29f806d210a27b471a75eb7.tar.bz2
Change virtual class name of __iter__ to "object" in order to make it linkable.
-rw-r--r--Doc/library/stdtypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 5d7698f..df5eeff 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