[Python-ideas] Unpacking a dict
Sven R. Kunze
srkunze at mail.de
Thu May 26 12:51:48 EDT 2016
On 26.05.2016 02:14, Ethan Furman wrote:
>
>> or, perhaps:
>>
>> 'a' as x, 'b' as y, 'c' as z = some_dict
>>
>> which would cater for keys that aren't valid as identifiers.
>
> That probably makes more sense, especially since it's already the
> rare(r) case of needing/wanting to rename the keys.
What do you think about?
'a': x, 'b': y, 'c': z = some_dict
Best,
Sven
More information about the Python-ideas
mailing list