]> granicus.if.org Git - python/commitdiff
#Adapt the doc string to reality.
authorGuido van Rossum <guido@python.org>
Mon, 8 Sep 1997 02:47:46 +0000 (02:47 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 8 Sep 1997 02:47:46 +0000 (02:47 +0000)
Lib/exceptions.py

index 37b9590467ec36bbbabb4ef2155c24855526fab5..9bfa0bcee4f1eb91e2ba631e6d3bd074b49483b1 100644 (file)
@@ -1,20 +1,19 @@
 """Class based built-in exception hierarchy.
 
-This is an experimental new feature whereby all the standard built-in
-exceptions, traditionally string object, are replaced with classes.
-This gives Python's exception handling mechanism a more
-object-oriented feel.
+This is a new feature whereby all the standard built-in exceptions,
+traditionally string objects, are replaced with classes.  This gives
+Python's exception handling mechanism a more object-oriented feel.
 
 Most existing code should continue to work with class based
 exceptions.  Some tricky uses of IOError may break, but the most
 common uses should work.
 
-To use this new feature, start the python executable with the -X option.
+To disable this feature, start the Python executable with the -X option.
 
 Here is a rundown of the class hierarchy.  You can change this by
 editing this file, but it isn't recommended.  The classes with a `*'
-are new with this feature and are not available unless class based
-exceptions are used.
+are new with this feature.  They are defined as tuples containing the
+derived exceptions when string-based exceptions are used.
 
 StandardError(*)
  |