Files
python-uncompyle6/test/simple_source/bug35/05_empty_ifs.py
rocky f59174575e Fix 3.5+ bug in if's with pass bodies
Fixes #104 in a somewhat hacky way.
2018-01-08 10:21:53 -05:00

10 lines
302 B
Python

# Issue 104 seen in Python 3.5
# Since we have empty statement bodies the if's can get confused
# with "and/or". There is a lot of flakiness in control flow here,
# and this needs to be straightened out in a more uniform way
if __file__:
if __name__:
pass
elif __import__:
pass