Tightened xml.sax.__init__.py
This commit is contained in:
parent
fed4f1e9c5
commit
b58e6b10b6
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue