Erik Max Francis wrote: > Andrew Koenig wrote: > > >>How about this instead: >> >> def make_generator(func): >> while x = func(): > > ^^^^^^^^^^ > > Not too likely in Python :-). > Heh! My point exactly :)