mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
[3.14] Add missing comma to tuple in except* docs (GH-142395) (#142685)
Co-authored-by: dr-carlos <77367421+dr-carlos@users.noreply.github.com>
This commit is contained in:
parent
4e74259e91
commit
affc38f40b
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue