PyDocs

Nav

Python Runtime Services

iter

builtins

function
  • iter(iterable, /)
  • iter(callable, sentinel, /)
iter(iterable) -> iterator
iter(callable, sentinel) -> iterator

Get an iterator from an object.  In the first form, the argument must
supply its own iterator, or be a sequence.
In the second form, the callable is called until it returns the
sentinel.
0 Examples
No examples for builtins/iter.
See Also
No see-alsos for builtins/iter
0 Notes
No notes for iter