summaryrefslogtreecommitdiffstats
path: root/Doc/library/copy.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/copy.rst')
-rw-r--r--Doc/library/copy.rst4
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