diff options
author | Guido van Rossum <guido@python.org> | 2003-01-29 06:16:12 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-01-29 06:16:12 (GMT) |
commit | 586c9e813c590b64c5bfcd98424c5f74ba9ffe40 (patch) | |
tree | 2bfb50a1bdcec49d22d21694401c35ffd052d71f /Lib/pickle.py | |
parent | 255f3ee0a53c419459f5926828b087ff4af15578 (diff) | |
download | cpython-586c9e813c590b64c5bfcd98424c5f74ba9ffe40.zip cpython-586c9e813c590b64c5bfcd98424c5f74ba9ffe40.tar.gz cpython-586c9e813c590b64c5bfcd98424c5f74ba9ffe40.tar.bz2 |
Declare Protocol 2 as implemented.
Diffstat (limited to 'Lib/pickle.py')
-rw-r--r-- | Lib/pickle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pickle.py b/Lib/pickle.py index d98bcd5..e36e6a6 100644 --- a/Lib/pickle.py +++ b/Lib/pickle.py @@ -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 |