From ba95a0defedec600173abe621a19473c33f3b670 Mon Sep 17 00:00:00 2001 From: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Date: Tue, 19 Nov 2024 19:37:10 +0000 Subject: [PATCH] Update peps/pep-0765.rst --- peps/pep-0765.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peps/pep-0765.rst b/peps/pep-0765.rst index b73e807a41c..239ec6748b7 100644 --- a/peps/pep-0765.rst +++ b/peps/pep-0765.rst @@ -191,7 +191,7 @@ allowing control flow statements is not that this would be useful, but rather the desire for orthogonality of features (which, as we mentioned in the introduction, is already violated in the case of ``except*`` clauses). However, the proposed semantics are complicated because they suggest that ``return``, -``break`` and ``continue`` behave as they normally when ``finally`` is used +``break`` and ``continue`` behave as they normally when ``finally`` executes without an in-flight exception, but turn into something like a bare ``raise`` when there is one. It is hard to claim that the features are orthogonal if the presence of one changes the semantics of the other.