]> granicus.if.org Git - python/commit
Use __dict__.update(state) instead of for loop over state.items() and
authorGuido van Rossum <guido@python.org>
Sun, 26 Oct 1997 17:00:25 +0000 (17:00 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 26 Oct 1997 17:00:25 +0000 (17:00 +0000)
commite6eef4b4a3a11b00fe5eae44e1af667de0b138b9
tree63ddac63585f26a5a4f7af9991adfbe4d6e21e9a
parent040e5652612a96b0046a25ba3f60dc0f8d0aad4d
Use __dict__.update(state) instead of for loop over state.items() and
call to setattr().  This changes semantics, following the change
already implemented in pickle.

Also reindented a few lines properly.
Lib/copy.py