Suppose x is an instance of a class with the iterator method installed and suppose iter is the output of iterator x. Then a new Iterator object is returned whose next method returns f next iter until next iter returns StopIteration, in which case this new iterator does the same.
|
|
|
|
|