mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Tightened xml.sax.__init__.py
This commit is contained in:
parent
fed4f1e9c5
commit
b58e6b10b6
1 changed files with 5 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue