mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
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)
This commit is contained in:
parent
245c619e86
commit
af57fa13f4
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ else:
|
|||
else:
|
||||
if v >= _MINIMUM_XMLPLUS_VERSION:
|
||||
import sys
|
||||
_xmlplus.__path__.extend(__path__)
|
||||
sys.modules[__name__] = _xmlplus
|
||||
else:
|
||||
del v
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue