@@ -223,11 +223,11 @@ \section{The \keyword{try} statement\label{try}}
223223except clause with an expression, that expression is evaluated, and the
224224clause matches the exception if the resulting object is `` compatible''
225225with the exception. An object is compatible with an exception if it
226- is either the object that identifies the exception, or (for exceptions
227- that are classes) it is a base class of the exception, or it is a
228- tuple containing an item that is compatible with the exception. Note
229- that the object identities must match, i.e. it must be the same
230- object, not just an object with the same value.
226+ is the class or a base class of the exception object, a tuple
227+ containing an item compatible with the exception, or, in the
228+ (deprecated) case of string exceptions, is the raised string itself
229+ (note that the object identities must match, i.e. it must be the same
230+ string object, not just a string with the same value) .
231231\kwindex {except}
232232
233233If no except clause matches the exception, the search for an exception
@@ -239,14 +239,14 @@ \section{The \keyword{try} statement\label{try}}
239239on the call stack (it is treated as if the entire \keyword {try} statement
240240raised the exception).
241241
242- When a matching except clause is found, the exception's parameter is
243- assigned to the target specified in that except clause, if present,
244- and the except clause's suite is executed. All except clauses must
245- have an executable block. When the end of this block
246- is reached, execution continues normally after the entire try
247- statement. (This means that if two nested handlers exist for the same
248- exception, and the exception occurs in the try clause of the inner
249- handler, the outer handler will not handle the exception.)
242+ When a matching except clause is found, the exception is assigned to
243+ the target specified in that except clause, if present, and the except
244+ clause's suite is executed. All except clauses must have an
245+ executable block. When the end of this block is reached, execution
246+ continues normally after the entire try statement. (This means that
247+ if two nested handlers exist for the same exception, and the exception
248+ occurs in the try clause of the inner handler, the outer handler will
249+ not handle the exception.)
250250
251251Before an except clause's suite is executed, details about the
252252exception are assigned to three variables in the
0 commit comments