[Python-checkins] python/nondist/peps pep-0340.txt,1.14,1.15
gvanrossum@users.sourceforge.net
gvanrossum at users.sourceforge.net
Tue May 3 01:35:55 CEST 2005
Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16732
Modified Files:
pep-0340.txt
Log Message:
Fix typo in example 4 found by Chris Ryland.
Index: pep-0340.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0340.txt,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- pep-0340.txt 2 May 2005 15:33:47 -0000 1.14
+++ pep-0340.txt 2 May 2005 23:35:52 -0000 1.15
@@ -536,7 +536,7 @@
try:
yield
return
- except Exception, err:
+ except exc, err:
# perhaps log exception here
continue
raise # re-raise the exception we caught earlier
@@ -565,13 +565,13 @@
Acknowledgements
In no useful order: Alex Martelli, Barry Warsaw, Bob Ippolito,
- Brett Cannon, Brian Sabbey, Doug Landauer, Duncan Booth, Fredrik
- Lundh, Greg Ewing, Holger Krekel, Jason Diamond, Jim Jewett,
- Josiah Carlson, Ka-Ping Yee, Michael Chermside, Michael Hudson,
- Neil Schemenauer, Nick Coghlan, Paul Moore, Phillip Eby, Raymond
- Hettinger, Samuele Pedroni, Shannon Behrens, Skip Montanaro,
- Steven Bethard, Terry Reedy, Tim Delaney, Aahz, and others.
- Thanks all for the valuable contributions!
+ Brett Cannon, Brian Sabbey, Chris Ryland, Doug Landauer, Duncan
+ Booth, Fredrik Lundh, Greg Ewing, Holger Krekel, Jason Diamond,
+ Jim Jewett, Josiah Carlson, Ka-Ping Yee, Michael Chermside,
+ Michael Hudson, Neil Schemenauer, Nick Coghlan, Paul Moore,
+ Phillip Eby, Raymond Hettinger, Samuele Pedroni, Shannon Behrens,
+ Skip Montanaro, Steven Bethard, Terry Reedy, Tim Delaney, Aahz,
+ and others. Thanks all for the valuable contributions!
References
More information about the Python-checkins
mailing list