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

Skip to content

Commit b32aa5e

Browse files
committed
Revise the comments about the exceptions module to not refer to source
code; it is not sufficiently readable now that it in written in C, and is less likely to be available to end users.
1 parent 25699f9 commit b32aa5e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/lib/libexcs.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ \section{Built-in Exceptions}
55

66

77
Exceptions can be class objects or string objects. While
8-
traditionally, most exceptions have been string objects, in Python
8+
traditionally most exceptions have been string objects, in Python
99
1.5, all standard exceptions have been converted to class objects,
10-
and users are encouraged to do the same. The source code for those
11-
exceptions is present in the standard library module
12-
\module{exceptions}; this module never needs to be imported explicitly.
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.
1313

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

0 commit comments

Comments
 (0)