Files
python-uncompyle6/test/simple_source/bug35/03_while-if-break.py
rocky b6413b6e6e Skirt around control-flow problems...
Tag some of the weaknesses if we can't address them now
2017-12-07 08:55:45 -05:00

15 lines
288 B
Python

# Python 3.5 and 3.6 break inside a
# while True and if / break
def display_date(loop):
while True:
if loop:
break
x = 5
# Another loop to test 3.5 ifelsestmtl grammar rule
while loop:
if x:
True
else:
True