generator functions: why won't this work?

castironpi at gmail.com castironpi at gmail.com
Wed Apr 2 13:11:30 EDT 2008


On Apr 1, 10:42 pm, "Gabriel Genellina" <gagsl-... at yahoo.com.ar>
wrote:
> En Tue, 01 Apr 2008 23:56:50 -0300, <zillo... at googlemail.com> escribió:
>
>    yield *iterable
>
> could be used as a shortcut for this:
>
>    for __temp in iterable: yield __temp

How serious were you about that?



More information about the Python-list mailing list