summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-11-01 21:35:17 (GMT)
committerGitHub <noreply@github.com>2018-11-01 21:35:17 (GMT)
commitb9c48a73bc26ee7c16df2a07e84d330b5474a643 (patch)
tree8f592167e538b1558fabdccd81131b4636692b8d /Lib/pydoc.py
parentd69f015ba5e617f6e15e2dcaefa095b83bc40448 (diff)
downloadcpython-b9c48a73bc26ee7c16df2a07e84d330b5474a643.zip
cpython-b9c48a73bc26ee7c16df2a07e84d330b5474a643.tar.gz
cpython-b9c48a73bc26ee7c16df2a07e84d330b5474a643.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 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions