summaryrefslogtreecommitdiffstats
path: root/Doc/libcopy.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-02-13 06:58:54 (GMT)
committerFred Drake <fdrake@acm.org>1998-02-13 06:58:54 (GMT)
commit1947991c2f85db781fb3fcdc9e3bcfe2905e58e2 (patch)
tree260789493c7151408f009eaa84a7815ce4d28246 /Doc/libcopy.tex
parentdc8af0acc1fbeec89e43f1ea43bf1a4d016f4fc6 (diff)
downloadcpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.zip
cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.gz
cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.bz2
Remove all \bcode / \ecode cruft; this is no longer needed. See previous
checkin of myformat.sty. Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}" everywhere. Some other minor nits that I happened to come across.
Diffstat (limited to 'Doc/libcopy.tex')
-rw-r--r--Doc/libcopy.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/libcopy.tex b/Doc/libcopy.tex
index 60a5b42..1d1fd22 100644
--- a/Doc/libcopy.tex
+++ b/Doc/libcopy.tex
@@ -1,7 +1,7 @@
\section{Standard Module \sectcode{copy}}
\label{module-copy}
\stmodindex{copy}
-\renewcommand{\indexsubitem}{(copy function)}
+\setindexsubitem{(copy function)}
\ttindex{copy}
\ttindex{deepcopy}
@@ -9,12 +9,12 @@ This module provides generic (shallow and deep) copying operations.
Interface summary:
-\bcode\begin{verbatim}
+\begin{verbatim}
import copy
x = copy.copy(y) # make a shallow copy of y
x = copy.deepcopy(y) # make a deep copy of y
-\end{verbatim}\ecode
+\end{verbatim}
%
For module specific errors, \code{copy.error} is raised.
@@ -76,7 +76,7 @@ to control pickling: they can define methods called
\code{__setstate__()}. See the description of module \code{pickle}
for information on these methods.
\refstmodindex{pickle}
-\renewcommand{\indexsubitem}{(copy protocol)}
+\setindexsubitem{(copy protocol)}
\ttindex{__getinitargs__}
\ttindex{__getstate__}
\ttindex{__setstate__}