commit | e6eef4b4a3a11b00fe5eae44e1af667de0b138b9 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sun Oct 26 17:00:25 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Sun Oct 26 17:00:25 1997 +0000 |
tree | 63ddac63585f26a5a4f7af9991adfbe4d6e21e9a | |
parent | 040e5652612a96b0046a25ba3f60dc0f8d0aad4d [diff] |
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.