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
|
control flow from within a ``finally`` block to a location outside
|
||||||
of it.
|
of it.
|
||||||
|
|
||||||
This includes the following examples:
|
These examples may emit a ``SyntaxWarning`` or ``SyntaxError``:
|
||||||
|
|
||||||
.. code-block::
|
.. code-block::
|
||||||
:class: bad
|
:class: bad
|
||||||
|
@ -108,7 +108,7 @@ This includes the following examples:
|
||||||
finally:
|
finally:
|
||||||
break # (or continue)
|
break # (or continue)
|
||||||
|
|
||||||
But excludes these:
|
These examples would not emit the warning or error:
|
||||||
|
|
||||||
.. code-block::
|
.. code-block::
|
||||||
:class: good
|
:class: good
|
||||||
|
|
Loading…
Reference in New Issue