Skip to content

Commit aaa7040

Browse files
committed
backticks
1 parent eabe61d commit aaa7040

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/reference/compound_stmts.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ The exception type for matching is interpreted as in the case of
343343
group that is being handled. Each :keyword:`!except*` clause splits (see
344344
:meth:`~BaseExceptionGroup.split`) the exception group into the subgroups of
345345
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
347347
assigned to the target of the :keyword:`!except*` clause (if there is one). Then,
348348
the body of the :keyword:`!except*` clause is executed. If the non-matching
349349
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.
375375
If the exception raised from the :keyword:`try` block is not an exception group
376376
and its type matches one of the :keyword:`!except*` clauses, it is caught and
377377
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`::
379379

380380
>>> try:
381381
... raise BlockingIOError

0 commit comments

Comments
 (0)