summaryrefslogtreecommitdiffstats
path: root/Include/pyerrors.h
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-11-01 21:35:26 (GMT)
committerGitHub <noreply@github.com>2018-11-01 21:35:26 (GMT)
commit49171877ddbbcb9b9a38b30e698ee9f8b826b297 (patch)
tree3444dcf15c462bf042cbbaaf7b6019194bc5f4c7 /Include/pyerrors.h
parent7344b9fa0ef7bd8b902e7aa9a8f74b5dce915e59 (diff)
downloadcpython-49171877ddbbcb9b9a38b30e698ee9f8b826b297.zip
cpython-49171877ddbbcb9b9a38b30e698ee9f8b826b297.tar.gz
cpython-49171877ddbbcb9b9a38b30e698ee9f8b826b297.tar.bz2
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! (cherry picked from commit 0200928e8df012d408530b06a98119024bc82511) Co-authored-by: Stephan Hoyer <shoyer@gmail.com>
Diffstat (limited to 'Include/pyerrors.h')
0 files changed, 0 insertions, 0 deletions