Skip to content

Commit b28d597

Browse files
authored
Update peps/pep-0765.rst
1 parent 1202d6a commit b28d597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peps/pep-0765.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Change Semantics
171171
----------------
172172

173173
It `was suggested <https://discuss.python.org/t/pep-765-disallow-return-break-continue-that-exit-a-finally-block/71348/32>`__
174-
to change the semantics of control flow instructions in finally such that an
174+
to change the semantics of control flow instructions in ``finally`` such that an
175175
in-flight exception takes precedence over them. In other words, a ``return``,
176176
``break`` or ``continue`` would be permitted, and would exit the ``finally``
177177
block, but the exception would still be raised.

0 commit comments

Comments
 (0)