From e350c5e9ac77615dfab6becf1085ed4142193086 Mon Sep 17 00:00:00 2001 From: dr-carlos <77367421+dr-carlos@users.noreply.github.com> Date: Sun, 14 Dec 2025 09:21:35 +1030 Subject: [PATCH] Add missing comma to tuple in `except*` docs (GH-142395) (cherry picked from commit e5a48480c0eb64d5af11f33658c2a3f1170e4ddd) Co-authored-by: dr-carlos <77367421+dr-carlos@users.noreply.github.com> --- Doc/reference/compound_stmts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index 9c47cd29255dc7..80eb3e84d92573 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.