summaryrefslogtreecommitdiffstats
path: root/Lib/xml
diff options
context:
space:
mode:
authorPaul Prescod <prescod@prescod.net>2000-07-01 13:44:04 (GMT)
committerPaul Prescod <prescod@prescod.net>2000-07-01 13:44:04 (GMT)
commitb58e6b10b6165ca0a3ebfa99201f5272a7c01854 (patch)
tree3f60b86da618d32bf2bab35284fae964cfaced1a /Lib/xml
parentfed4f1e9c5a27871187e7f609250a6e1e1d43f90 (diff)
downloadcpython-b58e6b10b6165ca0a3ebfa99201f5272a7c01854.zip
cpython-b58e6b10b6165ca0a3ebfa99201f5272a7c01854.tar.gz
cpython-b58e6b10b6165ca0a3ebfa99201f5272a7c01854.tar.bz2
Tightened xml.sax.__init__.py
Diffstat (limited to 'Lib/xml')
-rw-r--r--Lib/xml/sax/__init__.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/xml/sax/__init__.py b/Lib/xml/sax/__init__.py
index 324558d..105af6b 100644
--- a/Lib/xml/sax/__init__.py
+++ b/Lib/xml/sax/__init__.py
@@ -17,12 +17,12 @@ drv_pyexpat -- Driver that allows use of the Expat parser with the classes
"""
-from handler import *
-from expatreader import *
-from _exceptions import *
-from saxutils import *
-from _exceptions import SAXParseException
+from handler import ContentHandler, ErrorHandler
+from expatreader import ExpatParser
+from _exceptions import SAXException, SAXNotRecognizedException, \
+ SAXParseException, SAXNotSupportedException
import xmlreader
+import saxutils
def parse( filename_or_stream, handler, errorHandler=ErrorHandler() ):
parser=ExpatParser()