More baby squeaking - iterators in a class

Alex Martelli aleaxit at
Thu Dec 30 19:17:36 CET 2004

Bulba! <bulba at> wrote:

> So which is it? Does next() method HAS to be defined
> explicitly?

It has to be defined, whether explicitly or not (e.g. via a generator).


More information about the Python-list mailing list