From: Georg Brandl Date: Mon, 12 May 2008 17:47:53 +0000 (+0000) Subject: Marshal is at version 2. X-Git-Tag: v2.6b1~452 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70dce223d469bfbcc23ab79c72b8df5ed0321c47;p=python Marshal is at version 2. --- diff --git a/Doc/c-api/marshal.rst b/Doc/c-api/marshal.rst index cc2858834f..c075495c35 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)