mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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.
This commit is contained in:
parent
dc8af0acc1
commit
1947991c2f
241 changed files with 1022 additions and 1020 deletions
|
@ -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__}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue