mirror of https://github.com/python/cpython.git
Marshal is at version 2.
This commit is contained in:
parent
173b739ff8
commit
70dce223d4
|
@ -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
|
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
|
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
|
upon unmarshalling. Version 2 uses a binary format for floating point numbers.
|
||||||
(currently 1).
|
*Py_MARSHAL_VERSION* indicates the current file format (currently 2).
|
||||||
|
|
||||||
|
|
||||||
.. cfunction:: void PyMarshal_WriteLongToFile(long value, FILE *file, int version)
|
.. cfunction:: void PyMarshal_WriteLongToFile(long value, FILE *file, int version)
|
||||||
|
|
Loading…
Reference in New Issue