Fix a bug in the translation of a classic 'for' loop.
This commit is contained in:
parent
9e0ea62fc8
commit
999cd28594
|
@ -94,7 +94,7 @@ Specification: the 'for' Loop
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
VAR1 = next(itr, arg)
|
VAR1 = next(itr, arg)
|
||||||
finally:
|
except StopIteration:
|
||||||
break
|
break
|
||||||
arg = None
|
arg = None
|
||||||
BLOCK1
|
BLOCK1
|
||||||
|
|
Loading…
Reference in New Issue