https://github.com/python/cpython/commit/450f863ea69a96ad3b42d3d979214ad574380692
commit: 450f863ea69a96ad3b42d3d979214ad574380692
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2025-12-13T22:57:22Z
summary:

[3.13] Add missing comma to tuple in `except*` docs (GH-142395) (#142684)

Co-authored-by: dr-carlos <[email protected]>

files:
M Doc/reference/compound_stmts.rst

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.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to