Skip to content

Commit 85dd9d2

Browse files
Revert "Fix syntax in except clause example in errors.rst"
This reverts commit 5cb1c46.
1 parent 5cb1c46 commit 85dd9d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/tutorial/errors.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Handlers only handle exceptions that occur in the corresponding *try clause*,
123123
not in other handlers of the same :keyword:`!try` statement. An *except clause*
124124
may name multiple exceptions, for example::
125125

126-
... except (RuntimeError, TypeError, NameError):
126+
... except RuntimeError, TypeError, NameError:
127127
... pass
128128

129129
A class in an :keyword:`except` clause matches exceptions which are instances of the

0 commit comments

Comments
 (0)