PEP-765: rewrote two sentences as proposed by Jeff Glass (#4164)

This commit is contained in:
Irit Katriel 2024-12-12 12:05:34 +00:00 committed by GitHub
parent 749797171e
commit 9f2b31949f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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
@ -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