[Python-checkins] commit of r41660 - in python/trunk: Lib/xml/__init__.py
fredrik.lundh
python-checkins at python.org
Mon Dec 12 22:59:52 CET 2005
Author: fredrik.lundh
Date: Mon Dec 12 22:59:52 2005
New Revision: 41660
Modified:
python/trunk/ (props changed)
python/trunk/Lib/xml/__init__.py
Log:
r1077 at 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)
Modified: python/trunk/Lib/xml/__init__.py
==============================================================================
--- python/trunk/Lib/xml/__init__.py (original)
+++ python/trunk/Lib/xml/__init__.py Mon Dec 12 22:59:52 2005
@@ -41,6 +41,7 @@
else:
if v >= _MINIMUM_XMLPLUS_VERSION:
import sys
+ _xmlplus.__path__.extend(__path__)
sys.modules[__name__] = _xmlplus
else:
del v
More information about the Python-checkins
mailing list