allowing braces around suites

Alex Martelli aleaxit at
Sat Aug 28 18:55:23 CEST 2004

Isaac To <iketo2 at> wrote:

> >>>>> "Alex" == Alex Martelli <aleaxit at> writes:
>     Alex> list(a, b, c) instead of [a, b, c] would not be horribly
>     Alex> heavy syntax, I think.
> On the other hand, [b*b for b in c] is too sweet to lose as well. :)

But list(b*b for b in c) is essentially the same thing, and already in
Python 2.4 it works just fine.


More information about the Python-list mailing list