[Python-ideas] dictionary unpacking

Terry Reedy tjreedy at udel.edu
Tue Apr 1 19:44:55 CEST 2008

"Facundo Batista" <facundobatista at gmail.com> 
wrote in message 
news:e04bdf310804010613h56d11f19u5253b05602a14778 at mail.gmail.com...

-1 because the need is way to rare for new syntax support and because

|  bar, spam = [d[k] for k in ("foo", "egg")]

already does what is wanted in easily understood code.


More information about the Python-ideas mailing list