From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 6 Aug 2025 22:04:15 +0000 (+0200) Subject: [3.13] Docs: Small clarity change for ``except*`` (GH-121073) (#137495) X-Git-Tag: v3.13.7~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b772427902a9f2ea0141afdc62cf5f9fc404b315;p=thirdparty%2FPython%2Fcpython.git [3.13] Docs: Small clarity change for ``except*`` (GH-121073) (#137495) 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 c83bd9c4f3d5..5bd7e2a5b2c7 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -383,7 +383,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.