idiom for list looping

Xavier Ho contact at xavierho.com
Wed Jul 29 13:20:50 CEST 2009


On Wed, Jul 29, 2009 at 9:17 PM, MRAB <python at mrabarnett.plus.com> wrote:


> I've just replaced the list comprehension with a generator expression.
>
>
Oh, and that isn't in Python 2.3.... I see. Generators are slightly newer,
eh.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090729/59b37fb2/attachment.html>


More information about the Python-list mailing list