diff options
Diffstat (limited to 'Lib/xml/parsers')
-rw-r--r-- | Lib/xml/parsers/expat.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/xml/parsers/expat.py b/Lib/xml/parsers/expat.py index 11359a0..a805b82 100644 --- a/Lib/xml/parsers/expat.py +++ b/Lib/xml/parsers/expat.py @@ -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 |