Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e61d437

Browse files
committed
Merge r72792: POP_MARK was not in pickle protocol 0, SHORT_BINBYTES was not in protocol 1.
1 parent 360bcac commit e61d437

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/pickletools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@ def __init__(self, name, code, arg,
10571057
arg=string1,
10581058
stack_before=[],
10591059
stack_after=[pybytes],
1060-
proto=1,
1060+
proto=3,
10611061
doc="""Push a Python string object.
10621062
10631063
There are two arguments: the first is a 1-byte unsigned int giving
@@ -1384,7 +1384,7 @@ def __init__(self, name, code, arg,
13841384
arg=None,
13851385
stack_before=[markobject, stackslice],
13861386
stack_after=[],
1387-
proto=0,
1387+
proto=1,
13881388
doc="""Pop all the stack objects at and above the topmost markobject.
13891389
13901390
When an opcode using a variable number of stack objects is done,

0 commit comments

Comments
 (0)