Commit b58e6b10 authored by Paul Prescod's avatar Paul Prescod

Tightened xml.sax.__init__.py

parent fed4f1e9
...@@ -17,12 +17,12 @@ drv_pyexpat -- Driver that allows use of the Expat parser with the classes ...@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment