When an exception is raised, the ordinary sequential exception of statements stops. The next sequential statement is not executed. Instead, the exception handlers are examined to find an
except clause which matches the given exception's class. This search proceeds down the call stack from the current function to the function which called it. If an
except clause is found which matches the exception, then ordinary sequential execution resumes in that
except clause. When the
except clause finishes, the
try statement is also finished. From there, the normal sequential statement execution continues after the
except clause matches the given exception, the exception and the traceback information ...