mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Remove the outer test for __name__; not necessary.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user