Fix typo in example 4 found by Chris Ryland.

This commit is contained in:
Guido van Rossum 2005-05-02 23:35:52 +00:00
parent e4db00a173
commit 79c7f789bd
1 changed files with 8 additions and 8 deletions

View File

@ -536,7 +536,7 @@ Examples
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 @@ Examples
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