From b58e6b10b6165ca0a3ebfa99201f5272a7c01854 Mon Sep 17 00:00:00 2001 From: Paul Prescod Date: Sat, 1 Jul 2000 13:44:04 +0000 Subject: [PATCH] Tightened xml.sax.__init__.py --- Lib/xml/sax/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Lib/xml/sax/__init__.py b/Lib/xml/sax/__init__.py index 324558d0e8..105af6b777 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() -- 2.40.0