Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7acb218

Browse files
committed
Minor clarifications in the introductory paragraph.
1 parent e544191 commit 7acb218

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

Doc/lib/libexcs.tex

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ \section{Built-in Exceptions}
44
\modulesynopsis{Standard exceptions classes.}
55

66

7-
Exceptions can be class objects or string objects. While
8-
traditionally most exceptions have been string objects, in Python
9-
1.5, all standard exceptions have been converted to class objects,
10-
and users are encouraged to do the same. The exceptions are defined
11-
in the module \module{exceptions}; this module never needs to be
12-
imported explicitly.
7+
Exceptions can be class objects or string objects. Though most
8+
exceptions have been string objects in past versions of Python, in
9+
Python 1.5 and newer versions, all standard exceptions have been
10+
converted to class objects, and users are encouraged to do the same.
11+
The exceptions are defined in the module \module{exceptions}. This
12+
module never needs to be imported explicitly: the exceptions are
13+
provided in the built-in namespace.
1314

1415
Two distinct string objects with the same value are considered different
1516
exceptions. This is done to force programmers to use exception names

0 commit comments

Comments
 (0)