Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Doc/reference/compound_stmts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,11 @@ or the last :keyword:`!except*` clause has run.

After all :keyword:`!except*` clauses execute, the group of unhandled exceptions
is merged with any exceptions that were raised or re-raised from within
:keyword:`!except*` clauses. This merged exception group propagates on::
:keyword:`!except*` clauses. If this list contains more than one exception
to reraise, they are combined into an exception group, and this merged
exception group propagates on. If the list contains a single exception,
that exception propagates on its own, without being wrapped in an
exception group::

>>> try:
... raise ExceptionGroup("eg",
Expand Down
Loading