Skip to content

Commit 95bb8ea

Browse files
committed
punctuation
1 parent 3179dc1 commit 95bb8ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/source/6_exceptions.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ meaning, or which just don't amount to a meaningful statement within
3434
the rules of the language. A mathematician confronting an undefined
3535
mathematical expression can do little else than throw up their hands
3636
and ask the author what they meant. The :term:`Python interpreter`, upon
37-
encountering code which has no defined meaning, responds similarly,
37+
encountering code which has no defined meaning, responds similarly;
3838
though rather than raising its non-existent hands, it raises an
3939
:term:`exception`. It is then up to the programmer to divine what to do next.
4040

@@ -54,11 +54,11 @@ error:
5454
An important rule in interpreting Python errors, the reasons for which we will
5555
return to, is to always read the error message from the bottom up. In
5656
this case, the last line contains the name of the exception which has
57-
been raised :obj:`ZeroDivisionError`, followed by a colon, followed by
57+
been raised, :obj:`ZeroDivisionError`, followed by a colon, followed by
5858
a descriptive string providing more information about what has gone
5959
wrong. In this case, that more or less says the same as the exception
6060
name, but that won't be the case for all exceptions. The four lines
61-
above the exception are called a traceback. We'll return to
61+
above the exception are called a :term:`traceback`. We'll return to
6262
interpreting tracebacks presently. In this case the error is easy to interpret
6363
and understand: the code divided the :class:`float` value `0.` by another zero,
6464
and this does not have a well-defined result in Python's arithmetic system.

0 commit comments

Comments
 (0)