[Python-ideas] Dictionary destructing and unpacking.

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Jun 8 02:28:12 EDT 2017


One existing way to do this:

a, b, c = (mydict[k] for k in ('a', 'b', 'c'))

-- 
Greg



More information about the Python-ideas mailing list