[issue29506] Incorrect documentation for the copy module

R. David Murray report at bugs.python.org
Mon Mar 27 13:21:15 EDT 2017


R. David Murray added the comment:

Looking over the PR, and especially in the context of Serhiy's point about this being about 'deep copy' and not 'deepcopy', I think this would be clearer if it were shortened even further, to just:

"Because deep copy copies everything, it may copy data that is intended to be shared between copies."

After all, what deepcopy does it provide a way for a class to implement that sharing when a deepcopy is done.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29506>
_______________________________________


More information about the Python-bugs-list mailing list