mirror of https://github.com/python/cpython.git
Change virtual class name of __iter__ to "object" in order to make it linkable.
This commit is contained in:
parent
dc55f35f38
commit
66502c11e9
|
@ -470,7 +470,7 @@ One method needs to be defined for container objects to provide iteration
|
||||||
support:
|
support:
|
||||||
|
|
||||||
|
|
||||||
.. method:: container.__iter__()
|
.. method:: object.__iter__()
|
||||||
|
|
||||||
Return an iterator object. The object is required to support the iterator
|
Return an iterator object. The object is required to support the iterator
|
||||||
protocol described below. If a container supports different types of
|
protocol described below. If a container supports different types of
|
||||||
|
|
Loading…
Reference in New Issue