seem to figure out.
Yeah I know that's "bad", but to my mind so is polluting the global
namespace with the "updated" function.
-- Or maybe I'm just lazy and picked up too many bad habits from
Javascript.
Rick
"Steven Bethard" <[EMAIL PROTECTED]> wrote in m
Would there be any way to add a method to all dict objects that operated
like the .update() method, but also returned a reference to the updated
dict?
.update() is clumsy to use inside of list comprehensions and the like. Or am
I missing something?
Thanks,
Rick
--
http://mail.python.org/mail