You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
18 lines
430 B
Python
18 lines
430 B
Python
# From PyPy argparse, dedent.
|
|
|
|
# PyPY adds opcode JUMP_IF_NOT_DEBUG.
|
|
# This is the two argument form.
|
|
assert __name__ != '__main"', 'Indent decreased below 0.'
|
|
|
|
# From PyPy simple_interact.py
|
|
# PyPy uses POP_JUMP_IF_FALSE as well as POP_JUMP_IF_TRUE
|
|
# CPython only uses POP_JUMP_IF_TRUE
|
|
while 1:
|
|
try:
|
|
more = 10
|
|
except EOFError:
|
|
break
|
|
more = len(__file__)
|
|
assert not more, "FOO"
|
|
assert not more
|