File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Original file line number Diff line number Diff line change @@ -362,8 +362,10 @@ one :keyword:`!except*` clause, the first that matches it. ::
362
362
363
363
364
364
Any remaining exceptions that were not handled by any :keyword: `!except* `
365
- clause are re-raised at the end, combined into an exception group along with
366
- all exceptions that were raised from within :keyword: `!except* ` clauses.
365
+ clause are re-raised at the end, along with all exceptions that were
366
+ raised from within the :keyword: `!except* ` clauses. If this list contains
367
+ more than one exception to reraise, they are combined into an exception
368
+ group.
367
369
368
370
If the raised exception is not an exception group and its type matches
369
371
one of the :keyword: `!except* ` clauses, it is caught and wrapped by an
Original file line number Diff line number Diff line change @@ -239,7 +239,8 @@ Other Language Changes
239
239
240
240
* When a ``try-except* `` construct handles the entire :exc: `ExceptionGroup `
241
241
and raises one other exception, that exception is no longer wrapped in an
242
- :exc: `ExceptionGroup `. (Contributed by Irit Katriel in :gh: `103590 `.)
242
+ :exc: `ExceptionGroup `. Also changed in version 3.11.4. (Contributed by Irit
243
+ Katriel in :gh: `103590 `.)
243
244
244
245
245
246
New Modules
You can’t perform that action at this time.
0 commit comments