Skip to content
Prev Previous commit
Next Next commit
Fix other minor Sphinx syntax issues with except
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
  • Loading branch information
CAM-Gerlach and ezio-melotti authored Aug 14, 2022
commit 5db46b943c8a337c20444a58c9ddf1ba4a187f38
4 changes: 2 additions & 2 deletions Doc/reference/compound_stmts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ when leaving an exception handler::
:keyword:`!except*` clause
--------------------------

The :keyword:`except*<except_star>` clause(s) are used for handling
:exc:`ExceptionGroup`\ s. The exception type for matching is interpreted as in
The :keyword:`except* <except_star>` clause(s) are used for handling
Comment thread
CAM-Gerlach marked this conversation as resolved.
Outdated
:exc:`ExceptionGroup`\s. The exception type for matching is interpreted as in
the case of :keyword:`except`, but in the case of exception groups we can have
partial matches when the type matches some of the exceptions in the group.
This means that multiple except* clauses can execute, each handling part of
Comment thread
CAM-Gerlach marked this conversation as resolved.
Outdated
Expand Down