summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-11-14 13:18:31 (GMT)
committerGitHub <noreply@github.com>2021-11-14 13:18:31 (GMT)
commit55d24edaadba4ee90f464d88b44075649788f128 (patch)
tree4fede40cfbb5aebb19c3c13ca230772e8168c24b
parent2081f9fe75a3a990394fbccd0c1c91c229c6289e (diff)
downloadcpython-55d24edaadba4ee90f464d88b44075649788f128.zip
cpython-55d24edaadba4ee90f464d88b44075649788f128.tar.gz
cpython-55d24edaadba4ee90f464d88b44075649788f128.tar.bz2
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 dd41c54..69bac98 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__(),