Vladimir

59%
Flag icon
To iterate, the for machinery does the equivalent of g = iter(gen_AB()) to get a generator object, and then next(g) at each iteration.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview