Fix a bug in the translation of a classic 'for' loop.

This commit is contained in:
Guido van Rossum 2005-04-27 17:41:44 +00:00
parent 9e0ea62fc8
commit 999cd28594
1 changed files with 1 additions and 1 deletions

View File

@ -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