summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-12 17:47:53 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-12 17:47:53 (GMT)
commit70dce223d469bfbcc23ab79c72b8df5ed0321c47 (patch)
tree4c1b915c7d519b85ad30816cfb0f766d9f3cdb21
parent173b739ff894d197a9f31ffbac71eabc9542d52c (diff)
downloadcpython-70dce223d469bfbcc23ab79c72b8df5ed0321c47.zip
cpython-70dce223d469bfbcc23ab79c72b8df5ed0321c47.tar.gz
cpython-70dce223d469bfbcc23ab79c72b8df5ed0321c47.tar.bz2
Marshal is at version 2.
-rw-r--r--Doc/c-api/marshal.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/marshal.rst b/Doc/c-api/marshal.rst
index cc28588..c075495 100644
--- a/Doc/c-api/marshal.rst
+++ b/Doc/c-api/marshal.rst
@@ -14,8 +14,8 @@ Numeric values are stored with the least significant byte first.
The module supports two versions of the data format: version 0 is the historical
version, version 1 (new in Python 2.4) shares interned strings in the file, and
-upon unmarshalling. *Py_MARSHAL_VERSION* indicates the current file format
-(currently 1).
+upon unmarshalling. Version 2 uses a binary format for floating point numbers.
+*Py_MARSHAL_VERSION* indicates the current file format (currently 2).
.. cfunction:: void PyMarshal_WriteLongToFile(long value, FILE *file, int version)