From d5d848f9fdd02e2a732ed9aff1579c6bf7d63215 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Tue, 11 May 2021 18:13:41 +0000 Subject: [PATCH] Doc: Fix ambiguous pronoun --- Doc/reference/compound_stmts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index 77400a8d8504f3..875273f3ed8586 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.