[Python-ideas] dictionary unpacking

Mathias Panzenböck grosser.meister.morti at gmx.net
Wed Apr 2 14:38:57 CEST 2008


Georg Brandl schrieb:
 >
 > We also have
 >
 > bar, spam = itemgetter("foo", "egg")(d)
 >
 > if some functional form is preferred.
 >
 > Georg
 >

oh, we have that? yes, that's really a nice way doing it.

	-panzi



More information about the Python-ideas mailing list