Lines Matching refs:except
212 keyword: except
221 : ("except" [`expression` [("as" | ",") `identifier`]] ":" `suite`)+
228 In previous versions of Python, :keyword:`try`...\ :keyword:`except`...\
229 :keyword:`finally` did not work. :keyword:`try`...\ :keyword:`except` had to be
232 The :keyword:`except` clause(s) specify one or more exception handlers. When no
235 handler is started. This search inspects the except clauses in turn until one
236 is found that matches the exception. An expression-less except clause, if
237 present, must be last; it matches any exception. For an except clause with an
243 If no except clause matches the exception, the search for an exception handler
246 If the evaluation of an expression in the header of an except clause raises an
251 When a matching except clause is found, the exception is assigned to the target
252 specified in that except clause, if present, and the except clause's suite is
253 executed. All except clauses must have an executable block. When the end of
266 Before an except clause's suite is executed, details about the exception are
286 clause are not handled by the preceding :keyword:`except` clauses.
291 :keyword:`try` clause is executed, including any :keyword:`except` and
356 allows common :keyword:`try`...\ :keyword:`except`...\ :keyword:`finally` usage
599 .. [#] Currently, control "flows off the end" except in the case of an exception or the