dict.updated

Rick Morrison ram at forefront-tech.No.Lunch.meat.com
Wed Jan 12 22:06:57 CET 2005


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







More information about the Python-list mailing list