diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2011-05-09 06:10:38 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2011-05-09 06:10:38 (GMT) |
commit | 867754e3e3c907f87d1bb0282df628deb392cd62 (patch) | |
tree | 3a5acb5ba081b355ea94fa237ec940c47c0d4418 /Lib/xml | |
parent | 8ffaa1049c8e3e18b7615f4eecc9dfd71495f3ba (diff) | |
parent | 2f48d892d4036b500f5b79d152b3166b4d205dc9 (diff) | |
download | cpython-867754e3e3c907f87d1bb0282df628deb392cd62.zip cpython-867754e3e3c907f87d1bb0282df628deb392cd62.tar.gz cpython-867754e3e3c907f87d1bb0282df628deb392cd62.tar.bz2 |
merge 11164
Diffstat (limited to 'Lib/xml')
-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 |