You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
13 lines
331 B
Python
13 lines
331 B
Python
# From python3.8/distutils/version.py with optimization -O2
|
|
# The bug was that the other "else" constant propagated removed.
|
|
|
|
# NOTE: this program needs to be compile with optimization
|
|
def _cmp (b, c):
|
|
if b:
|
|
if c:
|
|
return 0
|
|
else:
|
|
return 1
|
|
else:
|
|
assert False, "never get here"
|