Skip to content

Commit 9152382

Browse files
authored
Small clarity change for except*
In the except* discussion, four keywords are linked in a row: try, break, continue, and return. Visually, it is easy to miss the period after the "try". Adding a couple words (and the capitalization) after the period helps the reader notice the separate concerns of the keywords.
1 parent 4be1f37 commit 9152382

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Doc/reference/compound_stmts.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ have ambiguous semantics.
383383

384384
It is not possible to mix :keyword:`except` and :keyword:`!except*`
385385
in the same :keyword:`try`.
386+
The statements
386387
:keyword:`break`, :keyword:`continue` and :keyword:`return`
387388
cannot appear in an :keyword:`!except*` clause.
388389

0 commit comments

Comments
 (0)