Have dict().update() return its own reference.

April 20, 2012
12:32 p.m.
Hello, 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? Cheers, Xav
4716
Age (days ago)
4716
Last active (days ago)
0 comments
1 participants
participants (1)
-
Xavier Ho