diff options
Diffstat (limited to 'Lib/pickletools.py')
-rw-r--r-- | Lib/pickletools.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/pickletools.py b/Lib/pickletools.py index 183db1022b..4f72923a09 100644 --- a/Lib/pickletools.py +++ b/Lib/pickletools.py @@ -1859,10 +1859,10 @@ def dis(pickle, out=None, indentlevel=4): markmsg = None if markstack and markobject in opcode.stack_before: - assert markobject not in opcode.stack_after - markpos = markstack.pop() - if markpos is not None: - markmsg = "(MARK at %d)" % markpos + assert markobject not in opcode.stack_after + markpos = markstack.pop() + if markpos is not None: + markmsg = "(MARK at %d)" % markpos if arg is not None or markmsg: # make a mild effort to align arguments |