From 586c9e813c590b64c5bfcd98424c5f74ba9ffe40 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 29 Jan 2003 06:16:12 +0000 Subject: [PATCH] Declare Protocol 2 as implemented. --- Lib/pickle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/pickle.py b/Lib/pickle.py index d98bcd5076..e36e6a6c90 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 -- 2.40.0