Skip to content

Commit 22498f5

Browse files
committed
update docs of copy
1 parent a5f23d4 commit 22498f5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/copy.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ The :func:`deepcopy` function avoids these problems by:
5959
* letting user-defined classes override the copying operation or the set of
6060
components copied.
6161

62-
This module does not copy types like module, method, stack trace, stack frame,
63-
file, socket, window, or any similar types. It does "copy" functions and
64-
classes (shallow and deeply), by returning the original object unchanged; this
62+
This module does not copy types like immutable object, module, method, stack trace,
63+
stack frame, file, socket, window, or any similar types. It does "copy" functions
64+
and classes (shallow and deeply), by returning the original object unchanged; this
6565
is compatible with the way these are treated by the :mod:`pickle` module.
6666

6767
Shallow copies of dictionaries can be made using :meth:`dict.copy`, and

0 commit comments

Comments
 (0)