[Python-Dev] dict() enhancement idea?

Raymond Hettinger python@rcn.com
Thu, 21 Nov 2002 12:51:56 -0500


>    # idiom 3 (after my patch, or with a homegrown function)
>    x = template % dict(key1=foo(), key2=baz())

+1  This is much more readable, intuitive, and easy to type.