On Sat, Oct 15, 2016 at 3:06 PM, Paul Moore <p.f.mo...@gmail.com> wrote:
> is the same as
>
> [ x for var in iterable for x in expression ]
>

correction, that would be:

[var for expression in iterable for var in expression]

you are right, though. List comprehensions are already stackable.
TIL.

cheers!
mar77i
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to