From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 13 Dec 2025 22:57:22 +0000 (+0100) Subject: [3.13] Add missing comma to tuple in `except*` docs (GH-142395) (#142684) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=450f863ea69a96ad3b42d3d979214ad574380692;p=thirdparty%2FPython%2Fcpython.git [3.13] Add missing comma to tuple in `except*` docs (GH-142395) (#142684) 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 9c47cd29255d..80eb3e84d925 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -385,7 +385,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.