Serhiy Storchaka added the comment:
Yes, I have a doubt about this too.
Perhaps it can be just removed. The idiomatic code in Python 2 is:
try:
import xml.etree.cElementTree as ET
except ImportError:
import xml.etree.ElementTree as ET
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29204>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com