mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Declare Protocol 2 as implemented.
This commit is contained in:
parent
255f3ee0a5
commit
586c9e813c
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ BINFLOAT = 'G' # push float; arg is 8-byte float encoding
|
||||||
TRUE = 'I01\n' # not an opcode; see INT docs in pickletools.py
|
TRUE = 'I01\n' # not an opcode; see INT docs in pickletools.py
|
||||||
FALSE = 'I00\n' # not an opcode; see INT docs in pickletools.py
|
FALSE = 'I00\n' # not an opcode; see INT docs in pickletools.py
|
||||||
|
|
||||||
# Protocol 2 (XXX not yet implemented).
|
# Protocol 2
|
||||||
|
|
||||||
PROTO = '\x80' # identify pickle protocol
|
PROTO = '\x80' # identify pickle protocol
|
||||||
NEWOBJ = '\x81' # build object by applying cls.__new__ to argtuple
|
NEWOBJ = '\x81' # build object by applying cls.__new__ to argtuple
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue