You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
11 lines
241 B
Python
11 lines
241 B
Python
# Python 2.4 (and before?) bug in handling unconditional "else if true"
|
|
# Doesn't occur in Python > 2.4
|
|
# From Issue #187
|
|
def unconditional_if_true_24(foo):
|
|
if not foo:
|
|
pass
|
|
elif 1:
|
|
pass
|
|
else:
|
|
return None
|