Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit af57fa1

Browse files
author
Fredrik Lundh
committed
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)
1 parent 245c619 commit af57fa1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/xml/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
else:
4242
if v >= _MINIMUM_XMLPLUS_VERSION:
4343
import sys
44+
_xmlplus.__path__.extend(__path__)
4445
sys.modules[__name__] = _xmlplus
4546
else:
4647
del v

0 commit comments

Comments
 (0)