From: Alex Waygood Date: Sun, 14 Nov 2021 12:56:01 +0000 (+0000) Subject: bpo-45752: Remove "array" from list of things that cannot be copied in `copy` module... X-Git-Tag: v3.11.0a3~250 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c2c4fdf5ea6e9cba4ef469d08a52abb9cfa756a5;p=thirdparty%2FPython%2Fcpython.git bpo-45752: Remove "array" from list of things that cannot be copied in `copy` module docstring (GH-29555) Automerge-Triggered-By: GH:asvetlov --- diff --git a/Lib/copy.py b/Lib/copy.py index dd41c54dffe1..69bac980be20 100644 --- a/Lib/copy.py +++ b/Lib/copy.py @@ -39,8 +39,8 @@ Python's deep copy operation avoids these problems by: set of components copied 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. +nor stack trace, stack frame, nor file, socket, window, nor any +similar types. Classes can use the same interfaces to control copying that they use to control pickling: they can define methods called __getinitargs__(),