diff options
author | Fred Drake <fdrake@acm.org> | 2003-09-10 20:47:43 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-09-10 20:47:43 (GMT) |
commit | 7c4d8f3ca9b847f9b581419fe5a9fb615a5a87c9 (patch) | |
tree | db7d80c30fe3e360da81940c0894d2551f02cdf9 | |
parent | b7b1db919195346e2f5c7d446887ea9e0eb24364 (diff) | |
download | cpython-7c4d8f3ca9b847f9b581419fe5a9fb615a5a87c9.zip cpython-7c4d8f3ca9b847f9b581419fe5a9fb615a5a87c9.tar.gz cpython-7c4d8f3ca9b847f9b581419fe5a9fb615a5a87c9.tar.bz2 |
- add version annotation for HIGHEST_PROTOCOL
- cleaned up some markup
-rw-r--r-- | Doc/lib/libpickle.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/lib/libpickle.tex b/Doc/lib/libpickle.tex index 95ec3ea..ef8cb23 100644 --- a/Doc/lib/libpickle.tex +++ b/Doc/lib/libpickle.tex @@ -164,6 +164,7 @@ following constant: \begin{datadesc}{HIGHEST_PROTOCOL} The highest protocol version available. This value can be passed as a \var{protocol} value. +\versionadded{2.3} \end{datadesc} The \module{pickle} module provides the @@ -255,12 +256,11 @@ including (but not necessarily limited to) \exception{AttributeError}, The \module{pickle} module also exports two callables\footnote{In the \module{pickle} module these callables are classes, which you could -subclass to customize the behavior. However, in the \module{cPickle} -modules these callables are factory functions and so cannot be -subclassed. One of the common reasons to subclass is to control what +subclass to customize the behavior. However, in the \refmodule{cPickle} +module these callables are factory functions and so cannot be +subclassed. One common reason to subclass is to control what objects can actually be unpickled. See section~\ref{pickle-sub} for -more details.}, \class{Pickler} and -\class{Unpickler}: +more details.}, \class{Pickler} and \class{Unpickler}: \begin{classdesc}{Pickler}{file\optional{, protocol\optional{, bin}}} This takes a file-like object to which it will write a pickle data |