mirror of https://github.com/python/cpython.git
Doc: Fix ambiguous pronoun (GH-26037)
This commit is contained in:
parent
56b8ea65d2
commit
fe175a87ad
|
@ -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
|
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
|
expression, that expression is evaluated, and the clause matches the exception
|
||||||
if the resulting object is "compatible" with the exception. An object is
|
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
|
object, or a tuple containing an item that is the class or a base class of
|
||||||
the exception object.
|
the exception object.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue