File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ The exception type for matching is interpreted as in the case of
343
343
group that is being handled. Each :keyword: `!except* ` clause splits (see
344
344
:meth: `~BaseExceptionGroup.split `) the exception group into the subgroups of
345
345
matching and non-matching exceptions. If the matching subgroup is not empty, it
346
- becomes the handled exception (the value returned from `sys.exception() `) and
346
+ becomes the handled exception (the value returned from `` sys.exception() ` `) and
347
347
assigned to the target of the :keyword: `!except* ` clause (if there is one). Then,
348
348
the body of the :keyword: `!except* ` clause is executed. If the non-matching
349
349
subgroup is not empty, it is processed by the next :keyword: `!except* ` in the
@@ -375,7 +375,7 @@ clauses. This merged exception group propagates on.
375
375
If the exception raised from the :keyword: `try ` block is not an exception group
376
376
and its type matches one of the :keyword: `!except* ` clauses, it is caught and
377
377
wrapped by an exception group with an empty message string. This ensures that the
378
- type of the target `e ` is consistently :exc: `BaseExceptionGroup `::
378
+ type of the target `` e ` ` is consistently :exc: `BaseExceptionGroup `::
379
379
380
380
>>> try:
381
381
... raise BlockingIOError
You can’t perform that action at this time.
0 commit comments