From 0cd6e1d8b60d3775bba7056714cbba0f9329cf9c Mon Sep 17 00:00:00 2001 From: Greg Stein Date: Wed, 6 Aug 2025 16:58:24 -0500 Subject: [PATCH] Docs: Small clarity change for ``except*`` (GH-121073) (cherry picked from commit c653fba0167bfafa69f9726c7d6dc1680dcca825) Co-authored-by: Greg Stein Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --- Doc/reference/compound_stmts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index a416cbb4cc8eab..f844d3ee1b201c 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -386,7 +386,7 @@ have ambiguous semantics. It is not possible to mix :keyword:`except` and :keyword:`!except*` in the same :keyword:`try`. -:keyword:`break`, :keyword:`continue` and :keyword:`return` +The :keyword:`break`, :keyword:`continue`, and :keyword:`return` statements cannot appear in an :keyword:`!except*` clause.