Mention version in which the new marshal version was introduced.

This commit is contained in:
Georg Brandl 2008-05-12 17:48:56 +00:00
parent 70dce223d4
commit d23f1f2896
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +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. Version 2 uses a binary format for floating point numbers.
upon unmarshalling. Version 2 (new in Python 2.5) uses a binary format for
floating point numbers.
*Py_MARSHAL_VERSION* indicates the current file format (currently 2).