[Python-Dev] Re: accumulator display syntax

Barry Warsaw barry at python.org
Tue Oct 21 21:21:51 EDT 2003


On Tue, 2003-10-21 at 20:44, David Eppstein wrote:

> Who cares about tuple comprehensions, but I would like similar syntactic 
> sugar for dict comprehensions as for lists:
>     {k:v for k,v in S}
> (PEP 274).

+1

:)

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20031021/63df6654/attachment.bin


More information about the Python-Dev mailing list