PEP-765: rewrote two sentences as proposed by Jeff Glass (#4164)
This commit is contained in:
parent
749797171e
commit
9f2b31949f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue