PEP 495: Corrected a typo.
This commit is contained in:
parent
b94d931923
commit
b528f52152
|
@ -295,7 +295,7 @@ Pickle sizes for the ``datetime.datetime`` and ``datetime.time``
|
||||||
objects will not change. The ``fold`` value will be encoded in the
|
objects will not change. The ``fold`` value will be encoded in the
|
||||||
first bit of the 3rd (1st) byte of ``datetime.datetime``
|
first bit of the 3rd (1st) byte of ``datetime.datetime``
|
||||||
(``datetime.time``) pickle payload. In the `current implementation`_
|
(``datetime.time``) pickle payload. In the `current implementation`_
|
||||||
these byte are used to store the month (1-12) and hour (0-23) values
|
these bytes are used to store the month (1-12) and hour (0-23) values
|
||||||
and the first bit is always 0. We picked these bytes because they are
|
and the first bit is always 0. We picked these bytes because they are
|
||||||
the only bytes that are checked by the current unpickle code. Thus
|
the only bytes that are checked by the current unpickle code. Thus
|
||||||
loading post-PEP ``fold=1`` pickles in a pre-PEP Python will result in
|
loading post-PEP ``fold=1`` pickles in a pre-PEP Python will result in
|
||||||
|
|
Loading…
Reference in New Issue