summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-11-14 05:21:32 -0800
committerGitHub <noreply@github.com>2021-11-14 05:21:32 -0800
commit9f9a3028e3bb923e726789ab3ea5ce298b596bc6 (patch)
tree3a2bfaa1c9cd30e0ae2d8a7f23172aa64234e536
parent6073920fcdb5a36d20a6a7c6ee204f74f00e1cb4 (diff)
downloadcpython-git-9f9a3028e3bb923e726789ab3ea5ce298b596bc6.tar.gz
bpo-45752: Remove "array" from list of things that cannot be copied in `copy` module docstring (GH-29555)
Automerge-Triggered-By: GH:asvetlov (cherry picked from commit c2c4fdf5ea6e9cba4ef469d08a52abb9cfa756a5) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
-rw-r--r--Lib/copy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/copy.py b/Lib/copy.py
index 41873f2c04..1081d43952 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__(),