]> granicus.if.org Git - python/commitdiff
Tightened xml.sax.__init__.py
authorPaul Prescod <prescod@prescod.net>
Sat, 1 Jul 2000 13:44:04 +0000 (13:44 +0000)
committerPaul Prescod <prescod@prescod.net>
Sat, 1 Jul 2000 13:44:04 +0000 (13:44 +0000)
Lib/xml/sax/__init__.py

index 324558d0e885bdd1595f4506c65551380b6ccd6c..105af6b77794d3524c10c09b41d7a6b129826558 100644 (file)
@@ -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()