This gets the next object from an iterator, i.e., something returned by iterator.
|
|
|
|
If the iterator is exhausted, then the symbol StopIteration is returned.
|
The object next is a method function.