Skip to content

Commit 450f863

Browse files
[3.13] Add missing comma to tuple in except* docs (GH-142395) (#142684)
Co-authored-by: dr-carlos <[email protected]>
1 parent 2b7b485 commit 450f863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/reference/compound_stmts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ type of the target ``e`` is consistently :exc:`BaseExceptionGroup`::
385385
... except* BlockingIOError as e:
386386
... print(repr(e))
387387
...
388-
ExceptionGroup('', (BlockingIOError()))
388+
ExceptionGroup('', (BlockingIOError(),))
389389

390390
:keyword:`break`, :keyword:`continue` and :keyword:`return`
391391
cannot appear in an :keyword:`!except*` clause.

0 commit comments

Comments
 (0)