From b28d597c5054da32a9e7dfcba7df491fad5c7cb2 Mon Sep 17 00:00:00 2001 From: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Date: Wed, 20 Nov 2024 12:18:35 +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 ddcde3c0f51..9881405d312 100644 --- a/peps/pep-0765.rst +++ b/peps/pep-0765.rst @@ -171,7 +171,7 @@ Change Semantics ---------------- It `was suggested `__ -to change the semantics of control flow instructions in finally such that an +to change the semantics of control flow instructions in ``finally`` such that an in-flight exception takes precedence over them. In other words, a ``return``, ``break`` or ``continue`` would be permitted, and would exit the ``finally`` block, but the exception would still be raised.