9 lines
256 B
Python
9 lines
256 B
Python
|
"""Interface to the Expat non-validating XML parser."""
|
||
|
import sys
|
||
|
|
||
|
from pyexpat import *
|
||
|
|
||
|
# provide pyexpat submodules as xml.parsers.expat submodules
|
||
|
sys.modules['xml.parsers.expat.model'] = model
|
||
|
sys.modules['xml.parsers.expat.errors'] = errors
|