Skip to content

Commit 1593256

Browse files
authored
make exception execution more specific (#212)
1 parent a4d1ec1 commit 1593256

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

exceptions.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ Exception handling is an art which once you master grants you immense
55
powers. I am going to show you some of the ways in which we can handle
66
exceptions.
77

8-
In basic terminology we are aware of ``try/except`` clause. The code
9-
which can cause an exception to occur is put in the ``try`` block and
8+
In basic terminology we are aware of the ``try/except`` structure. The code
9+
that can cause an exception to occur is put in the ``try`` block and
1010
the handling of the exception is implemented in the ``except`` block.
11+
The code in the ``except`` block will only execute if the ``try`` block
12+
runs into an exception.
1113
Here is a simple example:
1214

1315
.. code:: python

0 commit comments

Comments
 (0)