[Python-ideas] Have dict().update() return its own reference.
contact at xavierho.com
Fri Apr 20 14:32:55 CEST 2012
What's the rationale behind the fact that `dict().update()` return nothing?
If it returned the dictionary reference, at least we could chain methods,
or assign it to another variable, or pass it into a function, etc..
What's the design decision made behind this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas