]> granicus.if.org Git - python/commitdiff
exception support is correct now (closes #13705)
authorBenjamin Peterson <benjamin@python.org>
Tue, 3 Jan 2012 22:30:37 +0000 (16:30 -0600)
committerBenjamin Peterson <benjamin@python.org>
Tue, 3 Jan 2012 22:30:37 +0000 (16:30 -0600)
Doc/reference/compound_stmts.rst

index 1f036d2f678ecb69671b7841df8aad260b9ac133..aea08e08053833d94648835304692b1d3a7cc1c0 100644 (file)
@@ -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
 :keyword:`finally` clause. If the :keyword:`finally` clause raises another
 exception or executes a :keyword:`return` or :keyword:`break` statement, the
-saved exception is lost.  The exception information is not available to the
-program during execution of the :keyword:`finally` clause.
+saved exception is set as the context of the new exception.  The exception
+information is not available to the program during execution of the
+:keyword:`finally` clause.
 
 .. index::
    statement: return