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
343343group that is being handled. Each :keyword: `!except* ` clause splits (see
344344:meth: `~BaseExceptionGroup.split `) the exception group into the subgroups of
345345matching 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
347347assigned to the target of the :keyword: `!except* ` clause (if there is one). Then,
348348the body of the :keyword: `!except* ` clause is executed. If the non-matching
349349subgroup is not empty, it is processed by the next :keyword: `!except* ` in the
@@ -375,7 +375,7 @@ clauses. This merged exception group propagates on.
375375If the exception raised from the :keyword: `try ` block is not an exception group
376376and its type matches one of the :keyword: `!except* ` clauses, it is caught and
377377wrapped 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 `::
379379
380380 >>> try:
381381 ... raise BlockingIOError
You can’t perform that action at this time.
0 commit comments