Skip to content
Prev Previous commit
Next Next commit
Move see also to the introduction rather than a particular subsection
  • Loading branch information
CAM-Gerlach committed Aug 14, 2022
commit b4eca9ee4e88df9a9e6f6e481c66a01a940a9519
9 changes: 5 additions & 4 deletions Doc/reference/compound_stmts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,11 @@ for a group of statements:
try3_stmt: "try" ":" `suite`
: "finally" ":" `suite`

Additional information on exceptions can be found in section :ref:`exceptions`,
and information on using the :keyword:`raise` statement to generate exceptions
may be found in section :ref:`raise`.


.. _except:

:keyword:`!except` clause
Expand Down Expand Up @@ -431,10 +436,6 @@ always be the last one executed::
>>> foo()
'finally'

Additional information on exceptions can be found in section :ref:`exceptions`,
and information on using the :keyword:`raise` statement to generate exceptions
may be found in section :ref:`raise`.

.. versionchanged:: 3.8
Prior to Python 3.8, a :keyword:`continue` statement was illegal in the
:keyword:`finally` clause due to a problem with the implementation.
Expand Down