Kaydet (Commit) 199808b7 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

merge 3.2

...@@ -310,8 +310,9 @@ not handled, the exception is temporarily saved. The :keyword:`finally` clause ...@@ -310,8 +310,9 @@ not handled, the exception is temporarily saved. The :keyword:`finally` clause
is executed. If there is a saved exception, it is re-raised at the end of the is executed. If there is a saved exception, it is re-raised at the end of the
:keyword:`finally` clause. If the :keyword:`finally` clause raises another :keyword:`finally` clause. If the :keyword:`finally` clause raises another
exception or executes a :keyword:`return` or :keyword:`break` statement, the exception or executes a :keyword:`return` or :keyword:`break` statement, the
saved exception is lost. The exception information is not available to the saved exception is set as the context of the new exception. The exception
program during execution of the :keyword:`finally` clause. information is not available to the program during execution of the
:keyword:`finally` clause.
.. index:: .. index::
statement: return statement: return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment