[Python-ideas] Statements vs Expressions... why?

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Sep 15 04:14:29 CEST 2008


Cliff Wells wrote:

> On Mon, 2008-09-15 at 12:37 +1200, Greg Ewing wrote:

>>If it's an LC, then what do you
>>do if you want a dict or tuple comprehension instead?
> 
> Did we already grow those?

I'm not actually sure. I think Py3 has dict and set
comprehensions, but not tuple comprehensions.

-- 
Greg



More information about the Python-ideas mailing list