diff --git a/peps/pep-0765.rst b/peps/pep-0765.rst index 9d06d251434..0ac26aa28f1 100644 --- a/peps/pep-0765.rst +++ b/peps/pep-0765.rst @@ -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