Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 199808b

Browse files
committed
merge 3.2
2 parents c095956 + d204934 commit 199808b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Doc/reference/compound_stmts.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,9 @@ not handled, the exception is temporarily saved. The :keyword:`finally` clause
310310
is executed. If there is a saved exception, it is re-raised at the end of the
311311
:keyword:`finally` clause. If the :keyword:`finally` clause raises another
312312
exception or executes a :keyword:`return` or :keyword:`break` statement, the
313-
saved exception is lost. The exception information is not available to the
314-
program during execution of the :keyword:`finally` clause.
313+
saved exception is set as the context of the new exception. The exception
314+
information is not available to the program during execution of the
315+
:keyword:`finally` clause.
315316

316317
.. index::
317318
statement: return

0 commit comments

Comments
 (0)