Monday, 14 March 2016

Understanding dict.copy() - shallow or deep?

Those who are into Python programming might find this useful.
While reading up the documentation for dict.copy(), it says that it makes a shallow copy of the dictionary. Same goes for the book I am following (Beazley's Python Reference), which says: The
More info here.

No comments:

Post a Comment