summaryrefslogtreecommitdiffstats
path: root/Lib/xml/sax
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-01-27 08:56:24 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-01-27 08:56:24 (GMT)
commit711a5bdc44823fde2935343cc33b15b19f49930d (patch)
tree3160d594b03ab0a75093edc3a4bd296868aea491 /Lib/xml/sax
parent0591725bc5947c7b604b6d4bc59b0fc7e45d8070 (diff)
downloadcpython-711a5bdc44823fde2935343cc33b15b19f49930d.zip
cpython-711a5bdc44823fde2935343cc33b15b19f49930d.tar.gz
cpython-711a5bdc44823fde2935343cc33b15b19f49930d.tar.bz2
Synchronize with PyXML 1.5.
Diffstat (limited to 'Lib/xml/sax')
-rw-r--r--Lib/xml/sax/_exceptions.py1
-rw-r--r--Lib/xml/sax/xmlreader.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/Lib/xml/sax/_exceptions.py b/Lib/xml/sax/_exceptions.py
index 1ea582f..e23b5f4 100644
--- a/Lib/xml/sax/_exceptions.py
+++ b/Lib/xml/sax/_exceptions.py
@@ -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."
diff --git a/Lib/xml/sax/xmlreader.py b/Lib/xml/sax/xmlreader.py
index 58ee814..8d376c4 100644
--- a/Lib/xml/sax/xmlreader.py
+++ b/Lib/xml/sax/xmlreader.py
@@ -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