diff options
Diffstat (limited to 'Lib/xml/__init__.py')
-rw-r--r-- | Lib/xml/__init__.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Lib/xml/__init__.py b/Lib/xml/__init__.py index 0a80011..c27a137 100644 --- a/Lib/xml/__init__.py +++ b/Lib/xml/__init__.py @@ -13,11 +13,10 @@ sax -- The Simple API for XML, developed by XML-Dev, led by David """ -if __name__ == "xml": - try: - import _xmlplus - except ImportError: - pass - else: - import sys - sys.modules[__name__] = _xmlplus +try: + import _xmlplus +except ImportError: + pass +else: + import sys + sys.modules[__name__] = _xmlplus |