Skip to content

Commit 9f2b319

Browse files
authored
PEP-765: rewrote two sentences as proposed by Jeff Glass (#4164)
1 parent 7497971 commit 9f2b319

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

peps/pep-0765.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ when a ``return``, ``break`` or ``continue`` would transfer
9191
control flow from within a ``finally`` block to a location outside
9292
of it.
9393

94-
This includes the following examples:
94+
These examples may emit a ``SyntaxWarning`` or ``SyntaxError``:
9595

9696
.. code-block::
9797
:class: bad
@@ -108,7 +108,7 @@ This includes the following examples:
108108
finally:
109109
break # (or continue)
110110
111-
But excludes these:
111+
These examples would not emit the warning or error:
112112

113113
.. code-block::
114114
:class: good

0 commit comments

Comments
 (0)