29 Aug
2012
29 Aug
'12
9:17 a.m.
2012/8/29 Mike Graham
On Wed, Aug 29, 2012 at 11:45 AM, Masklinn
wrote: On 2012-08-29, at 17:03 , Guido van Rossum wrote:
Also of course assignment has no equivalent to keyword parameters
I've always thought it would be a rather neat way to unpack dictionaries, instead of doing it by hand or abusing `itemgetter` to get values in a known order.
Do you have a suggestion of a nice syntax for a thing to unpack mappings (or to unpack things by attributes)?
Mike
a: x, b: y, c: z = {'a': 'x', 'b': 'y', 'c': 'z'} Cesare