From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 11 Sep 2025 09:14:33 +0000 (+0200) Subject: [3.14] Docs: Small clarity change for ``except*`` (GH-121073) (#137494) X-Git-Tag: v3.14.0rc3~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=500abc41e813ed2c7d9ca1f2e1a8a761fdeb537d;p=thirdparty%2FPython%2Fcpython.git [3.14] Docs: Small clarity change for ``except*`` (GH-121073) (#137494) Co-authored-by: Greg Stein 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 41ab22b3ee09..278ef1d4c4f4 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.