From: Paul Prescod Date: Sat, 1 Jul 2000 13:44:04 +0000 (+0000) Subject: Tightened xml.sax.__init__.py X-Git-Tag: v2.0b1~1141 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b58e6b10b6165ca0a3ebfa99201f5272a7c01854;p=thirdparty%2FPython%2Fcpython.git Tightened xml.sax.__init__.py --- diff --git a/Lib/xml/sax/__init__.py b/Lib/xml/sax/__init__.py index 324558d0e885..105af6b77794 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()