Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel committed Feb 13, 2025
1 parent 0c40b6c commit 7f3284e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Doc/reference/compound_stmts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ or :keyword:`continue` statement, the saved exception is discarded. For example,
this function returns 42.

.. code::
def f():
try:
1/0
Expand All @@ -448,6 +449,7 @@ statement executed. Since the :keyword:`!finally` clause always executes, a
always be the last one executed. The following function returns 'finally'.

.. code::
def foo():
try:
return 'try'
Expand Down

0 comments on commit 7f3284e

Please sign in to comment.