]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45752: Remove "array" from list of things that cannot be copied in `copy` module...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 14 Nov 2021 13:21:32 +0000 (05:21 -0800)
committerGitHub <noreply@github.com>
Sun, 14 Nov 2021 13:21:32 +0000 (05:21 -0800)
Automerge-Triggered-By: GH:asvetlov
(cherry picked from commit c2c4fdf5ea6e9cba4ef469d08a52abb9cfa756a5)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Lib/copy.py

index 41873f2c046cac9ea3db6a284c57b2b53d7e6fa3..1081d43952e1ecd00cb627dca2fa6cbb039cf422 100644 (file)
@@ -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__(),