Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b58e6b10
Commit
b58e6b10
authored
Jul 01, 2000
by
Paul Prescod
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tightened xml.sax.__init__.py
parent
fed4f1e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Lib/xml/sax/__init__.py
Lib/xml/sax/__init__.py
+5
-5
No files found.
Lib/xml/sax/__init__.py
View file @
b58e6b10
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment