Tightened xml.sax.__init__.py

This commit is contained in:
Paul Prescod 2000-07-01 13:44:04 +00:00
parent fed4f1e9c5
commit b58e6b10b6

View file

@ -17,12 +17,12 @@ drv_pyexpat -- Driver that allows use of the Expat parser with the classes
""" """
from handler import * from handler import ContentHandler, ErrorHandler
from expatreader import * from expatreader import ExpatParser
from _exceptions import * from _exceptions import SAXException, SAXNotRecognizedException, \
from saxutils import * SAXParseException, SAXNotSupportedException
from _exceptions import SAXParseException
import xmlreader import xmlreader
import saxutils
def parse( filename_or_stream, handler, errorHandler=ErrorHandler() ): def parse( filename_or_stream, handler, errorHandler=ErrorHandler() ):
parser=ExpatParser() parser=ExpatParser()