diff options
author | Fred Drake <fdrake@acm.org> | 1999-06-29 16:02:12 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-06-29 16:02:12 (GMT) |
commit | f5213c2a3d5253ce461671ea1c64666cd778beae (patch) | |
tree | b6d2ba29b172798fed65d4e0725742f844611b22 /Doc | |
parent | 8ad2703bfb8a915bfb14ae2475d0e3e8666098d6 (diff) | |
download | cpython-f5213c2a3d5253ce461671ea1c64666cd778beae.zip cpython-f5213c2a3d5253ce461671ea1c64666cd778beae.tar.gz cpython-f5213c2a3d5253ce461671ea1c64666cd778beae.tar.bz2 |
Usage nit: a bunch of "nor"s should have been a single "or".
Make reference to the copy_reg module a hyperlink.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libcopy.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/lib/libcopy.tex b/Doc/lib/libcopy.tex index ef42682..091d411 100644 --- a/Doc/lib/libcopy.tex +++ b/Doc/lib/libcopy.tex @@ -1,7 +1,7 @@ \section{\module{copy} --- Shallow and deep copy operations} -\declaremodule{standard}{copy} +\declaremodule{standard}{copy} \modulesynopsis{Shallow and deep copy operations.} @@ -68,16 +68,16 @@ set of components copied. \end{itemize} This version does not copy types like module, class, function, method, -nor stack trace, stack frame, nor file, socket, window, nor array, nor -any similar types. +stack trace, stack frame, file, socket, window, array, or any similar +types. Classes can use the same interfaces to control copying that they use to control pickling: they can define methods called \method{__getinitargs__()}, \method{__getstate__()} and \method{__setstate__()}. See the description of module \refmodule{pickle}\refstmodindex{pickle} for information on these -methods. The \module{copy} module does not use the \module{copy_reg} -registration module. +methods. The \module{copy} module does not use the +\refmodule[copyreg]{copy_reg} registration module. \withsubitem{(copy protocol)}{\ttindex{__getinitargs__()} \ttindex{__getstate__()}\ttindex{__setstate__()}} |