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: try:
yield yield
return return
except Exception, err: except exc, err:
# perhaps log exception here # perhaps log exception here
continue continue
raise # re-raise the exception we caught earlier raise # re-raise the exception we caught earlier
@ -565,13 +565,13 @@ Examples
Acknowledgements Acknowledgements
In no useful order: Alex Martelli, Barry Warsaw, Bob Ippolito, In no useful order: Alex Martelli, Barry Warsaw, Bob Ippolito,
Brett Cannon, Brian Sabbey, Doug Landauer, Duncan Booth, Fredrik Brett Cannon, Brian Sabbey, Chris Ryland, Doug Landauer, Duncan
Lundh, Greg Ewing, Holger Krekel, Jason Diamond, Jim Jewett, Booth, Fredrik Lundh, Greg Ewing, Holger Krekel, Jason Diamond,
Josiah Carlson, Ka-Ping Yee, Michael Chermside, Michael Hudson, Jim Jewett, Josiah Carlson, Ka-Ping Yee, Michael Chermside,
Neil Schemenauer, Nick Coghlan, Paul Moore, Phillip Eby, Raymond Michael Hudson, Neil Schemenauer, Nick Coghlan, Paul Moore,
Hettinger, Samuele Pedroni, Shannon Behrens, Skip Montanaro, Phillip Eby, Raymond Hettinger, Samuele Pedroni, Shannon Behrens,
Steven Bethard, Terry Reedy, Tim Delaney, Aahz, and others. Skip Montanaro, Steven Bethard, Terry Reedy, Tim Delaney, Aahz,
Thanks all for the valuable contributions! and others. Thanks all for the valuable contributions!
References References