]> granicus.if.org Git - python/commitdiff
Marshal is at version 2.
authorGeorg Brandl <georg@python.org>
Mon, 12 May 2008 17:47:53 +0000 (17:47 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 12 May 2008 17:47:53 +0000 (17:47 +0000)
Doc/c-api/marshal.rst

index cc2858834f8d826c2fec197d32c06813b3d2543e..c075495c355e1ffeb7d73c39e7cad92ae7b83b49 100644 (file)
@@ -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)