Files
python-uncompyle6/test/simple_source/bug32/05_while_true_break.py
rocky a5e3d01dd3 Work around grammar remove rule bug...
And reinstate source to a current 3.3 bug (which we don't detect).
But at least it is noted for future work.
2017-11-26 08:07:00 -05:00

19 lines
442 B
Python

# From 3.4 mailbox.py
# Bug is not not getting control structure right
# specifically the 2nd elif not line
def _generate_toc(line):
while 1:
if line.startswith('2'):
line = 5
while 1:
if line:
line = 6
break
elif not line:
line = 7
break
elif not line:
break
return 1