Tuple comprehension

Emile van Sebille emile at fenx.com
Wed Apr 10 23:31:07 EDT 2002


Magnus Lie Hetland
> As far as I can see, the PEP on dict comprehension is still open... I
> think both dictionary comprehension and tuple comprehension seem like
> natural parallels to list comprehension. But then I would, wouldn't I?
> <wink>
>

Why not just tuple([my list comp]) ?


--

Emile van Sebille
emile at fenx.com

---------




More information about the Python-list mailing list