Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libcopy.tex @ 7277:bf4e790bd61a legacy-trunk
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.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 13 Feb 1998 06:58:54 +0000 |
| parents | 5bb884527446 |
| children | 8e5223680a9d |
line wrap: on
line diff
--- a/Doc/lib/libcopy.tex Fri Feb 13 06:48:05 1998 +0000 +++ b/Doc/lib/libcopy.tex Fri Feb 13 06:58:54 1998 +0000 @@ -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 @@ 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 @@ \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__}
