Eli Bendersky <[email protected]> added the comment:
Another random cleanup idea:
ElementTree.py has this code:
try:
from . import ElementPath
except ImportError:
ElementPath = _SimpleElementPath()
Since in the stdlib ElementPath.py is always there, this is meaningless, so I'd
say this try... except ImportError contraption can be removed, as well as
_SimpleElementPath, and just replaced by:
from . import ElementPath
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13988>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com