Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

The common idiom is

try:
    import xml.etree.cElementTree as ET
except ImportError:
    import xml.etree.ElementTree as ET

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40065>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to