]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] bpo-45752: Fix no-support examples in 'copy' docs (GH-29548) (GH-29556)
authorM. Mostafa Farzan <m2_farzan@yahoo.com>
Sun, 14 Nov 2021 12:54:42 +0000 (16:24 +0330)
committerGitHub <noreply@github.com>
Sun, 14 Nov 2021 12:54:42 +0000 (04:54 -0800)
(cherry picked from commit b7360ae395e9e633d384d16064c5dc04a9841e19)

Co-authored-by: M. Mostafa Farzan <m2_farzan@yahoo.com>
Automerge-Triggered-By: GH:asvetlov
Doc/library/copy.rst

index 01ebf198d7c501c1d5161c1679423405c125b02e..a8bc2fa55ea8c31b48913c3bca241e6022bb6c72 100644 (file)
@@ -60,7 +60,7 @@ The :func:`deepcopy` function avoids these problems by:
   components copied.
 
 This module does not copy types like module, method, stack trace, stack frame,
-file, socket, window, array, or any similar types.  It does "copy" functions and
+file, socket, window, or any similar types.  It does "copy" functions and
 classes (shallow and deeply), by returning the original object unchanged; this
 is compatible with the way these are treated by the :mod:`pickle` module.