[issue45752] copy module doc wrongly says it doesn't copy arrays

Stefan Pochmann report at bugs.python.org
Sat Nov 13 23:02:00 EST 2021


Stefan Pochmann <stefan.pochmann at gmail.com> added the comment:

Just saw that it's in copy.py's docstring as well:

"This version does not copy types like module, class, function, method,
nor stack trace, stack frame, nor file, socket, window, nor array, nor
any similar types."

https://github.com/python/cpython/blob/3.10/Lib/copy.py#L41-L43

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45752>
_______________________________________


More information about the Python-bugs-list mailing list