[Python-3000] Builtin iterator type

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Nov 15 03:35:13 CET 2006


George Sakkis wrote:

> Seems like a classic case for OOP to me: combine state (iterables)
> with behavior (iter) in handly little packets (objects).

Except that it's not really behaviour. Chaining, e.g., is
something you do *to* iterators, not something that the
iterators themselves do.

--
Greg


More information about the Python-3000 mailing list