diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2011-05-09 06:12:19 (GMT) |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2011-05-09 06:12:19 (GMT) |
| commit | 7c038b472675cf6e9ade17cf0ab9f3c8b5250f90 (patch) | |
| tree | 8982107ce1ec0e5369a851ea936a8a7618379edd /Lib/xml/__init__.py | |
| parent | 75813105a2cb35ce4486038dd9bb7ae07e2a2c72 (diff) | |
| parent | 867754e3e3c907f87d1bb0282df628deb392cd62 (diff) | |
| download | cpython-7c038b472675cf6e9ade17cf0ab9f3c8b5250f90.zip cpython-7c038b472675cf6e9ade17cf0ab9f3c8b5250f90.tar.gz cpython-7c038b472675cf6e9ade17cf0ab9f3c8b5250f90.tar.bz2 | |
merge 11164
Diffstat (limited to 'Lib/xml/__init__.py')
| -rw-r--r-- | Lib/xml/__init__.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Lib/xml/__init__.py b/Lib/xml/__init__.py index deed983..bf6d8dd 100644 --- a/Lib/xml/__init__.py +++ b/Lib/xml/__init__.py @@ -18,24 +18,3 @@ etree -- The ElementTree XML library. This is a subset of the full __all__ = ["dom", "parsers", "sax", "etree"] - -_MINIMUM_XMLPLUS_VERSION = (0, 8, 4) - - -try: - import _xmlplus -except ImportError: - pass -else: - try: - v = _xmlplus.version_info - except AttributeError: - # _xmlplus is too old; ignore it - pass - else: - if v >= _MINIMUM_XMLPLUS_VERSION: - import sys - _xmlplus.__path__.extend(__path__) - sys.modules[__name__] = _xmlplus - else: - del v |
