From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 13 Dec 2025 22:57:29 +0000 (+0100) Subject: [3.14] Add missing comma to tuple in `except*` docs (GH-142395) (#142685) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=affc38f40b042d0b15d32387931892bd3c42cb1b;p=thirdparty%2FPython%2Fcpython.git [3.14] Add missing comma to tuple in `except*` docs (GH-142395) (#142685) Co-authored-by: dr-carlos <77367421+dr-carlos@users.noreply.github.com> --- diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index b55ced574e4d..52bae88607af 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -388,7 +388,7 @@ type of the target ``e`` is consistently :exc:`BaseExceptionGroup`:: ... except* BlockingIOError as e: ... print(repr(e)) ... - ExceptionGroup('', (BlockingIOError())) + ExceptionGroup('', (BlockingIOError(),)) :keyword:`break`, :keyword:`continue` and :keyword:`return` cannot appear in an :keyword:`!except*` clause.