diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2016-06-11 19:06:08 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2016-06-11 19:06:08 (GMT) |
commit | 4da945f361cda03104548f49bad690a54b0209f7 (patch) | |
tree | ed25742482aca03601d01a6c6fccc65a5e0ded2c /Doc/library/copy.rst | |
parent | e670be2273f93dfc262e16ebc27f0d453f15fa21 (diff) | |
parent | fa089b9b0b926c04e5d57812b7d7653472787965 (diff) | |
download | cpython-4da945f361cda03104548f49bad690a54b0209f7.zip cpython-4da945f361cda03104548f49bad690a54b0209f7.tar.gz cpython-4da945f361cda03104548f49bad690a54b0209f7.tar.bz2 |
Merge Issue #22558.
Diffstat (limited to 'Doc/library/copy.rst')
-rw-r--r-- | Doc/library/copy.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/copy.rst b/Doc/library/copy.rst index 02ef0e5..a8adcad 100644 --- a/Doc/library/copy.rst +++ b/Doc/library/copy.rst @@ -4,6 +4,10 @@ .. module:: copy :synopsis: Shallow and deep copy operations. +**Source code:** :source:`Lib/copy.py` + +-------------- + Assignment statements in Python do not copy objects, they create bindings between a target and an object. For collections that are mutable or contain mutable items, a copy is sometimes needed so one can change one copy without |