summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-09-27 21:28:21 (GMT)
committerCollin Winter <collinw@gmail.com>2007-09-27 21:28:21 (GMT)
commitd2e44df07af46645c42a8d154ab2ad9880480389 (patch)
tree03773828b8c70509fde388f050bfa34ddea7c650 /Doc
parentf1044293fa36667b5ba11fbc7acac21a03b82710 (diff)
downloadcpython-d2e44df07af46645c42a8d154ab2ad9880480389.zip
cpython-d2e44df07af46645c42a8d154ab2ad9880480389.tar.gz
cpython-d2e44df07af46645c42a8d154ab2ad9880480389.tar.bz2
Revert r58075 (incorrect docs patch).
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tutorial/errors.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/errors.rst b/Doc/tutorial/errors.rst
index 162457e..fa2d422 100644
--- a/Doc/tutorial/errors.rst
+++ b/Doc/tutorial/errors.rst
@@ -115,9 +115,9 @@ A :keyword:`try` statement may have more than one except clause, to specify
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.