PyDocs

Nav

Python Runtime Services

iterator.__iter__

builtins

method
  • iterator.__iter__()
Return the iterator object itself. This is required to allow both containers and iterators to be used with the for and in statements. This method corresponds to the tp_iter slot of the type structure for Python objects in the Python/C API.
0 Examples
No examples for builtins/iterator.__iter__.
See Also
No see-alsos for builtins/iterator.__iter__
0 Notes
No notes for iterator.__iter__