Andrew Koenig wrote: > How about this instead: > > def make_generator(func): > while x = func(): ^^^^^^^^^^ Not too likely in Python :-). -- Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/ __ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE / \ Youth is a period of missed opportunities. \__/ Cyril Connolly