[Python-checkins] python/nondist/peps pep-0340.txt,1.2,1.3
gvanrossum at users.sourceforge.net
gvanrossum at users.sourceforge.net
Wed Apr 27 19:41:48 CEST 2005
Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7012
Modified Files:
pep-0340.txt
Log Message:
Fix a bug in the translation of a classic 'for' loop.
Index: pep-0340.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0340.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- pep-0340.txt 27 Apr 2005 16:50:53 -0000 1.2
+++ pep-0340.txt 27 Apr 2005 17:41:44 -0000 1.3
@@ -94,7 +94,7 @@
while True:
try:
VAR1 = next(itr, arg)
- finally:
+ except StopIteration:
break
arg = None
BLOCK1
More information about the Python-checkins
mailing list