summaryrefslogtreecommitdiff
path: root/Lib/pickletools.py
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2009-05-20 17:46:47 +0000
committerCollin Winter <collinw@gmail.com>2009-05-20 17:46:47 +0000
commite020ffb34251c91e462574f82843d84bd9b8339b (patch)
tree76dcbb925e2dda7fb3d5c982056269ee38f79504 /Lib/pickletools.py
parentfef87acacb3424330f156f7610223e14a3b27745 (diff)
downloadcpython-e020ffb34251c91e462574f82843d84bd9b8339b.tar.gz
Merge r72792: POP_MARK was not in pickle protocol 0, SHORT_BINBYTES was not in protocol 1.
Diffstat (limited to 'Lib/pickletools.py')
-rw-r--r--Lib/pickletools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/pickletools.py b/Lib/pickletools.py
index cfd5fccb98..2bb69d1320 100644
--- a/Lib/pickletools.py
+++ b/Lib/pickletools.py
@@ -1057,7 +1057,7 @@ opcodes = [
arg=string1,
stack_before=[],
stack_after=[pybytes],
- proto=1,
+ proto=3,
doc="""Push a Python string object.
There are two arguments: the first is a 1-byte unsigned int giving
@@ -1384,7 +1384,7 @@ opcodes = [
arg=None,
stack_before=[markobject, stackslice],
stack_after=[],
- proto=0,
+ proto=1,
doc="""Pop all the stack objects at and above the topmost markobject.
When an opcode using a variable number of stack objects is done,