summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2004-12-20 12:26:43 (GMT)
committerArmin Rigo <arigo@tunes.org>2004-12-20 12:26:43 (GMT)
commit21905e3e28c0b0c0e299adfc6048a7aee3cb8e33 (patch)
treeb94255f9e01c6d285fe28bd27f2b8e32662d19f2 /Doc/lib
parented92affaaaa65bca5e3d5c8cee803854ea5928a5 (diff)
downloadcpython-21905e3e28c0b0c0e299adfc6048a7aee3cb8e33.zip
cpython-21905e3e28c0b0c0e299adfc6048a7aee3cb8e33.tar.gz
cpython-21905e3e28c0b0c0e299adfc6048a7aee3cb8e33.tar.bz2
Back-ported: marshal.dumps() with the new optional argument 'version' just
immediately segfaults, due to a typo!
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libmarshal.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libmarshal.tex b/Doc/lib/libmarshal.tex
index 53ca668..d3dd835 100644
--- a/Doc/lib/libmarshal.tex
+++ b/Doc/lib/libmarshal.tex
@@ -62,7 +62,7 @@ operating on strings.
The module defines these functions:
-\begin{funcdesc}{dump}{value, file}
+\begin{funcdesc}{dump}{value, file\optional{, version}}
Write the value on the open file. The value must be a supported
type. The file must be an open file object such as
\code{sys.stdout} or returned by \function{open()} or
@@ -75,7 +75,7 @@ The module defines these functions:
read back by \function{load()}.
\versionadded[The \var{version} argument indicates the data
- format that \code{dumps} should use.]{2.4}
+ format that \code{dump} should use (see below)]{2.4}
\end{funcdesc}
\begin{funcdesc}{load}{file}
@@ -96,7 +96,7 @@ The module defines these functions:
contains an object that has) an unsupported type.
\versionadded[The \var{version} argument indicates the data
- format that \code{dumps} should use.]{2.4}
+ format that \code{dumps} should use (see below)]{2.4}
\end{funcdesc}
\begin{funcdesc}{loads}{string}