diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2021-05-14 06:27:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-14 06:27:06 (GMT) |
commit | fe175a87adb8bd4c65f58b156dc3e4792b525a8c (patch) | |
tree | e01482c91b92545b17921209a4457b4a14d761ee /Doc/reference | |
parent | 56b8ea65d28bd865e2363e10e9f1c2ca3433ffc2 (diff) | |
download | cpython-fe175a87adb8bd4c65f58b156dc3e4792b525a8c.zip cpython-fe175a87adb8bd4c65f58b156dc3e4792b525a8c.tar.gz cpython-fe175a87adb8bd4c65f58b156dc3e4792b525a8c.tar.bz2 |
Doc: Fix ambiguous pronoun (GH-26037)
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/compound_stmts.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index 0274095..c405423 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -254,7 +254,7 @@ is found that matches the exception. An expression-less except clause, if present, must be last; it matches any exception. For an except clause with an expression, that expression is evaluated, and the clause matches the exception if the resulting object is "compatible" with the exception. An object is -compatible with an exception if it is the class or a base class of the exception +compatible with an exception if the object is the class or a base class of the exception object, or a tuple containing an item that is the class or a base class of the exception object. |