]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Synchronize with PyXML 1.5.
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 27 Jan 2001 08:56:24 +0000 (08:56 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 27 Jan 2001 08:56:24 +0000 (08:56 +0000)
Lib/xml/sax/_exceptions.py
Lib/xml/sax/xmlreader.py

index 1ea582fb999bd7c804383ed1fafd04ff4cc0e787..e23b5f4535057471584b0a5f5ee96f157c51cfc6 100644 (file)
@@ -21,6 +21,7 @@ class SAXException(Exception):
         is optional."""
         self._msg = msg
         self._exception = exception
+        Exception.__init__(self, msg)
 
     def getMessage(self):
         "Return a message for this exception."
index 58ee814baf2f14ae8cebe655496fd8c5c01773f4..8d376c4cc0077ceaad9912d80743dd8c01915de3 100644 (file)
@@ -256,7 +256,7 @@ class InputSource:
 
     def setCharacterStream(self, charfile):
         """Set the character stream for this input source. (The stream
-        must be a Python 1.6 Unicode-wrapped file-like that performs
+        must be a Python 2.0 Unicode-wrapped file-like that performs
         conversion to Unicode strings.)
 
         If there is a character stream specified, the SAX parser will