Mike Meyer wrote:

> The question under these circumstances is then: do you want bare
> genexp to mean something? Right now, it's a syntax error. But there's
> no reason you couldn't have:
> 
>    y = x for x in stuff

I like

y = (x for x in stuff)

as it is, it's way more readable.

Reinhold
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to