We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2e71ff commit 4c8e8eaCopy full SHA for 4c8e8ea
Doc/reference/compound_stmts.rst
@@ -378,8 +378,8 @@ exception group with an empty message string. ::
378
...
379
ExceptionGroup('', (BlockingIOError()))
380
381
-An :keyword:`!except*` clause must have a matching type,
382
-and this type cannot be a subclass of :exc:`BaseExceptionGroup`.
+An :keyword:`!except*` clause must have a matching type or a tuple of matching
+types, which cannot be a subclass of :exc:`BaseExceptionGroup`.
383
It is not possible to mix :keyword:`except` and :keyword:`!except*`
384
in the same :keyword:`try`.
385
:keyword:`break`, :keyword:`continue` and :keyword:`return`
0 commit comments