diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 5d7698f1e5f..df5eeff8740 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