Skip to content

Commit

Permalink
PEP-765: rewrote two sentences as proposed by Jeff Glass
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel committed Dec 11, 2024
1 parent 7497971 commit 265a1d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions peps/pep-0765.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ when a ``return``, ``break`` or ``continue`` would transfer
control flow from within a ``finally`` block to a location outside
of it.

This includes the following examples:
These examples may emit a ``SyntaxWarning`` or ``SyntaxError``:

.. code-block::
:class: bad
Expand All @@ -108,7 +108,7 @@ This includes the following examples:
finally:
break # (or continue)
But excludes these:
These examples would not emit the warning or error:

.. code-block::
:class: good
Expand Down

0 comments on commit 265a1d5

Please sign in to comment.