commit | 0200928e8df012d408530b06a98119024bc82511 | [log] [tgz] |
---|---|---|
author | Stephan Hoyer <shoyer@gmail.com> | Mon Oct 29 11:30:12 2018 -0700 |
committer | Brian Curtin <brian@python.org> | Mon Oct 29 12:30:12 2018 -0600 |
tree | 45ec5b565af6c1f3fae1a2f2110b558ceed91576 | |
parent | 3b05ad7be09af1d4510eb698b0a70d36387f296e [diff] |
Include memo in the documented signature of copy.deepcopy() * Include memo in the documented signature of copy.deepcopy() The memo argument is mentioned lower on the doc page under writing a `__deepcopy__` method, but is not included in the documented function signature. This makes it easy to miss, and can lead to incorrect/buggy implementations of `__deepcopy__` -- which is exatly what just happpend to me!