Declare Protocol 2 as implemented.

This commit is contained in:
Guido van Rossum 2003-01-29 06:16:12 +00:00
parent 255f3ee0a5
commit 586c9e813c
1 changed files with 1 additions and 1 deletions

View File

@ -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
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
NEWOBJ = '\x81' # build object by applying cls.__new__ to argtuple