mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
#5355 followup: add unit test for new dictionaries, and provide submodules from xml.parsers.expat as advertised.
This commit is contained in:
parent
279b56d9a7
commit
91d2a3fb0e
2 changed files with 27 additions and 3 deletions
|
|
@ -1,4 +1,10 @@
|
|||
"""Interface to the Expat non-validating XML parser."""
|
||||
__version__ = '$Revision$'
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue