Commit b32aa5ec authored by Fred Drake's avatar Fred Drake

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.
parent 25699f99
...@@ -5,11 +5,11 @@ ...@@ -5,11 +5,11 @@
Exceptions can be class objects or string objects. While Exceptions can be class objects or string objects. While
traditionally, most exceptions have been string objects, in Python traditionally most exceptions have been string objects, in Python
1.5, all standard exceptions have been converted to class objects, 1.5, all standard exceptions have been converted to class objects,
and users are encouraged to do the same. The source code for those and users are encouraged to do the same. The exceptions are defined
exceptions is present in the standard library module in the module \module{exceptions}; this module never needs to be
\module{exceptions}; this module never needs to be imported explicitly. imported explicitly.
Two distinct string objects with the same value are considered different Two distinct string objects with the same value are considered different
exceptions. This is done to force programmers to use exception names exceptions. This is done to force programmers to use exception names
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment