[Python-3000-checkins] r58278 - python/branches/py3k/Doc/tutorial/errors.rst
collin.winter
python-3000-checkins at python.org
Thu Sep 27 23:28:21 CEST 2007
Author: collin.winter
Date: Thu Sep 27 23:28:21 2007
New Revision: 58278
Modified:
python/branches/py3k/Doc/tutorial/errors.rst
Log:
Revert r58075 (incorrect docs patch).
Modified: python/branches/py3k/Doc/tutorial/errors.rst
==============================================================================
--- python/branches/py3k/Doc/tutorial/errors.rst (original)
+++ python/branches/py3k/Doc/tutorial/errors.rst Thu Sep 27 23:28:21 2007
@@ -115,9 +115,9 @@
handlers for different exceptions. At most one handler will be executed.
Handlers only handle exceptions that occur in the corresponding try clause, not
in other handlers of the same :keyword:`try` statement. An except clause may
-name multiple exceptions as a tuple, for example::
+name multiple exceptions as a parenthesized tuple, for example::
- ... except RuntimeError, TypeError, NameError:
+ ... except (RuntimeError, TypeError, NameError):
... pass
The last except clause may omit the exception name(s), to serve as a wildcard.
More information about the Python-3000-checkins
mailing list