PEP 289: Generator Expressions (please comment)

Raymond Hettinger vze4rx4y at verizon.net
Thu Oct 23 18:05:10 EDT 2003


"Daniel Dittmar" <daniel at dittmar.net> wrote in message
news:bn9evl$5ug$1 at news.eusc.inter.net...
> Why should generator comprehension be useful only for arguments?

It is not limited to just function arguments.
It is a first class citizen.  You can use it for anything you want.


Raymond Hettinger







More information about the Python-list mailing list