diff options
author | Guido van Rossum <guido@python.org> | 1995-03-13 10:03:32 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-03-13 10:03:32 (GMT) |
commit | 6bb1adc7ee688be85b839b747cf25a9e6254cc22 (patch) | |
tree | 8cb910de69fa0322275e60763bfc93a1ea12386f /Doc/libcopy.tex | |
parent | a8a8d4aadd49e3776e2212318331105c939974b4 (diff) | |
download | cpython-6bb1adc7ee688be85b839b747cf25a9e6254cc22.zip cpython-6bb1adc7ee688be85b839b747cf25a9e6254cc22.tar.gz cpython-6bb1adc7ee688be85b839b747cf25a9e6254cc22.tar.bz2 |
small changes by Soren Larsen
Diffstat (limited to 'Doc/libcopy.tex')
-rw-r--r-- | Doc/libcopy.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/libcopy.tex b/Doc/libcopy.tex index f7f9744..c141e05 100644 --- a/Doc/libcopy.tex +++ b/Doc/libcopy.tex @@ -10,8 +10,8 @@ Interface summary: \begin{verbatim} import copy -x = copy.copy(y) # make a shallow copy of y -x = copy.deepcopy(y) # make a deep copy of y +x = copy.copy(y) # make a shallow copy of y +x = copy.deepcopy(y) # make a deep copy of y \end{verbatim} For module specific errors, \code{copy.Error} is raised. @@ -44,7 +44,7 @@ Recursive objects (compound objects that, directly or indirectly, contain a reference to themselves) may cause a recursive loop. \item -Because deep copy copies {\em everything} it may copy too much, e.g. +Because deep copy copies {\em everything} it may copy too much, e.g.\ administrative data structures that should be shared even between copies. |