diff options
author | Stephan Hoyer <shoyer@gmail.com> | 2018-10-29 11:30:12 -0700 |
---|---|---|
committer | Brian Curtin <brian@python.org> | 2018-10-29 12:30:12 -0600 |
commit | 0200928e8df012d408530b06a98119024bc82511 (patch) | |
tree | 45ec5b565af6c1f3fae1a2f2110b558ceed91576 /Python | |
parent | 3b05ad7be09af1d4510eb698b0a70d36387f296e (diff) | |
download | cpython-git-0200928e8df012d408530b06a98119024bc82511.tar.gz |
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!
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions