summaryrefslogtreecommitdiffstats
path: root/Lib/xml
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2011-05-09 06:10:38 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2011-05-09 06:10:38 (GMT)
commit867754e3e3c907f87d1bb0282df628deb392cd62 (patch)
tree3a5acb5ba081b355ea94fa237ec940c47c0d4418 /Lib/xml
parent8ffaa1049c8e3e18b7615f4eecc9dfd71495f3ba (diff)
parent2f48d892d4036b500f5b79d152b3166b4d205dc9 (diff)
downloadcpython-867754e3e3c907f87d1bb0282df628deb392cd62.zip
cpython-867754e3e3c907f87d1bb0282df628deb392cd62.tar.gz
cpython-867754e3e3c907f87d1bb0282df628deb392cd62.tar.bz2
merge 11164
Diffstat (limited to 'Lib/xml')
-rw-r--r--Lib/xml/__init__.py21
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