summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2012-02-09 10:27:48 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2012-02-09 10:27:48 (GMT)
commitf0f9679d5ce6b65f4b41f1c42b24c6ab43923a41 (patch)
tree57e8b7d5212ffa63601ab8af9a332dbc2f154719 /Doc
parent0bfa963fbb45602923b858d00a44e788a4a42ad5 (diff)
parent5b14d732d8790a6a19cc8aa410740575ff94c85a (diff)
downloadcpython-f0f9679d5ce6b65f4b41f1c42b24c6ab43923a41.zip
cpython-f0f9679d5ce6b65f4b41f1c42b24c6ab43923a41.tar.gz
cpython-f0f9679d5ce6b65f4b41f1c42b24c6ab43923a41.tar.bz2
merge from 3.2
Issue #9021 - Introduce copy module better in the docs.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/copy.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/library/copy.rst b/Doc/library/copy.rst
index 5ae79aa9..0c68bd9 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: