[Python-Dev] [872326] generator expression implementation

Jeremy Hylton jeremy at zope.com
Mon Jan 12 11:13:45 EST 2004


On Mon, 2004-01-12 at 10:55, Michael Hudson wrote:
> > def __gen(it):
> >     for x in it:
> >         yield x
> > __gen()
> 
> Should be __gen(expr), right?

Right.

Jeremy





More information about the Python-Dev mailing list