Skip to content

Commit 7a9a3e1

Browse files
iritkatrieltomasr8
andauthored
Apply suggestions from code review
Co-authored-by: Tomas R. <[email protected]>
1 parent 1f5323c commit 7a9a3e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/whatsnew/3.14.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -376,9 +376,9 @@ Other language changes
376376
PEP 765: Disallow return/break/continue that exit a finally block
377377
-----------------------------------------------------------------
378378

379-
The compiler emits a ``SyntaxWarning`` when a ``return``, ``break`` or
380-
``continue`` statements appears where it exits a ``finally`` block.
381-
This change in is specified in :pep:`765`.
379+
The compiler emits a `:exc:`SyntaxWarning` when a :keyword:`return`, :keyword:`break` or
380+
:keyword:`continue` statements appears where it exits a :keyword:`!finally` block.
381+
This change is specified in :pep:`765`.
382382

383383
New modules
384384
===========

0 commit comments

Comments
 (0)