summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-08-17 22:29:31 (GMT)
committerFred Drake <fdrake@acm.org>2000-08-17 22:29:31 (GMT)
commitb32aa5ecef6c241d2415f2f5b90756f139e6e282 (patch)
tree47e503e3152643997ba930527c5521c931049a12 /Doc/lib
parent25699f99f413ee8d7b085ed77154d56282de0537 (diff)
downloadcpython-b32aa5ecef6c241d2415f2f5b90756f139e6e282.zip
cpython-b32aa5ecef6c241d2415f2f5b90756f139e6e282.tar.gz
cpython-b32aa5ecef6c241d2415f2f5b90756f139e6e282.tar.bz2
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.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libexcs.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex
index 98793a2..13ec88b 100644
--- a/Doc/lib/libexcs.tex
+++ b/Doc/lib/libexcs.tex
@@ -5,11 +5,11 @@
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,
-and users are encouraged to do the same. The source code for those
-exceptions is present in the standard library module
-\module{exceptions}; this module never needs to be imported explicitly.
+and users are encouraged to do the same. The exceptions are defined
+in the module \module{exceptions}; this module never needs to be
+imported explicitly.
Two distinct string objects with the same value are considered different
exceptions. This is done to force programmers to use exception names