diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2012-02-09 18:26:59 +0800 |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2012-02-09 18:26:59 +0800 |
commit | 8dacf192192309d03dd433933d776bcc6527f538 (patch) | |
tree | 04caaf9e152b9ecb6a44846f8e4356cac244e0d6 /Doc/library/copy.rst | |
parent | ef41ad186526cd9883acb2955d313f7f9f6d2c66 (diff) | |
download | cpython-8dacf192192309d03dd433933d776bcc6527f538.tar.gz |
Issue #9021 - Introduce copy module better. Doc changes suggested by Terry
Reedy.
Diffstat (limited to 'Doc/library/copy.rst')
-rw-r--r-- | Doc/library/copy.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/library/copy.rst b/Doc/library/copy.rst index 5ae79aa91d..0c68bd9d0c 100644 --- a/Doc/library/copy.rst +++ b/Doc/library/copy.rst @@ -4,7 +4,11 @@ .. module:: copy :synopsis: Shallow and deep copy operations. -This module provides generic (shallow and deep) copying operations. +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 +changing the other. This module provides generic shallow and deep copy +operations (explained below). Interface summary: |