diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2005-12-12 21:59:52 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2005-12-12 21:59:52 (GMT) |
commit | af57fa13f449c66971ef064abb9ec190405a6f9a (patch) | |
tree | bf1d3e5a4149154cf2e0e25838d221563e0b4fd6 /Lib | |
parent | 245c619e86a47fd1f179c61c0899135ccf29cf78 (diff) | |
download | cpython-af57fa13f449c66971ef064abb9ec190405a6f9a.zip cpython-af57fa13f449c66971ef064abb9ec190405a6f9a.tar.gz cpython-af57fa13f449c66971ef064abb9ec190405a6f9a.tar.bz2 |
r1077@spiff: Fredrik | 2005-12-12 22:58:44 +0100
make sure xml.etree can be used even if PyXML is present
(solution proposed by Philip J. Eby)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/xml/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/xml/__init__.py b/Lib/xml/__init__.py index dc82f74..fa5e8cd 100644 --- a/Lib/xml/__init__.py +++ b/Lib/xml/__init__.py @@ -41,6 +41,7 @@ else: else: if v >= _MINIMUM_XMLPLUS_VERSION: import sys + _xmlplus.__path__.extend(__path__) sys.modules[__name__] = _xmlplus else: del v |