Skip to content

Commit e5a4848

Browse files
authored
Add missing comma to tuple in except* docs (#142395)
1 parent 87e152d commit e5a4848

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
@@ -388,7 +388,7 @@ type of the target ``e`` is consistently :exc:`BaseExceptionGroup`::
388388
... except* BlockingIOError as e:
389389
... print(repr(e))
390390
...
391-
ExceptionGroup('', (BlockingIOError()))
391+
ExceptionGroup('', (BlockingIOError(),))
392392

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

0 commit comments

Comments
 (0)