summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/tutorial/errors.rst4
-rw-r--r--Misc/ACKS1
2 files changed, 5 insertions, 0 deletions
diff --git a/Doc/tutorial/errors.rst b/Doc/tutorial/errors.rst
index 25bb4fc..cd5fc87 100644
--- a/Doc/tutorial/errors.rst
+++ b/Doc/tutorial/errors.rst
@@ -405,6 +405,10 @@ points discuss more complex cases when an exception occurs:
or :keyword:`!else` clause. Again, the exception is re-raised after
the :keyword:`!finally` clause has been executed.
+* If the :keyword:`!finally` clause executes a :keyword:`break`,
+ :keyword:`continue` or :keyword:`return` statement, exceptions are not
+ re-raised.
+
* If the :keyword:`!try` statement reaches a :keyword:`break`,
:keyword:`continue` or :keyword:`return` statement, the
:keyword:`!finally` clause will execute just prior to the
diff --git a/Misc/ACKS b/Misc/ACKS
index fb84c00..9f861b3 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -778,6 +778,7 @@ Christian Hudon
BenoƮt Hudson
Lawrence Hudson
Michael Hudson
+Roberto Hueso Gomez
Jim Hugunin
Greg Humphreys
Chris Hunt