Skip to content

Commit

Permalink
Update peps/pep-0765.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel authored Nov 20, 2024
1 parent 1202d6a commit b28d597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peps/pep-0765.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ Change Semantics
----------------

It `was suggested <https://discuss.python.org/t/pep-765-disallow-return-break-continue-that-exit-a-finally-block/71348/32>`__
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.
Expand Down

0 comments on commit b28d597

Please sign in to comment.