From: Greg Stein Date: Wed, 6 Aug 2025 21:58:24 +0000 (-0500) Subject: Docs: Small clarity change for ``except*`` (#121073) X-Git-Tag: v3.15.0a1~756 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c653fba0167bfafa69f9726c7d6dc1680dcca825;p=thirdparty%2FPython%2Fcpython.git Docs: Small clarity change for ``except*`` (#121073) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --- diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index 7ac4d8587ce7..4e49a49c0816 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.