From: dr-carlos <77367421+dr-carlos@users.noreply.github.com> Date: Sat, 13 Dec 2025 22:51:35 +0000 (+1030) Subject: Add missing comma to tuple in `except*` docs (#142395) X-Git-Tag: v3.15.0a3~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5a48480c0eb64d5af11f33658c2a3f1170e4ddd;p=thirdparty%2FPython%2Fcpython.git Add missing comma to tuple in `except*` docs (#142395) --- diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index 6521b4bee507..861c221502ed 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.