Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9f9e001

Browse filesBrowse files
authored
gh-103590: mention that the change is included in 3.11.4 and clarify except* documentation (#104095)
1 parent da1980a commit 9f9e001
Copy full SHA for 9f9e001

File tree

Expand file treeCollapse file tree

2 files changed

+6
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+6
-3
lines changed

‎Doc/reference/compound_stmts.rst

Copy file name to clipboardExpand all lines: Doc/reference/compound_stmts.rst
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,10 @@ one :keyword:`!except*` clause, the first that matches it. ::
362362

363363

364364
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.
367369

368370
If the raised exception is not an exception group and its type matches
369371
one of the :keyword:`!except*` clauses, it is caught and wrapped by an

‎Doc/whatsnew/3.12.rst

Copy file name to clipboardExpand all lines: Doc/whatsnew/3.12.rst
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@ Other Language Changes
239239

240240
* When a ``try-except*`` construct handles the entire :exc:`ExceptionGroup`
241241
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`.)
243244

244245

245246
New Modules

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.