deprecated-c-element-tree (UP023)#
Derived from the pyupgrade linter.
Fix is always available.
What it does#
Checks for uses of the xml.etree.cElementTree
module.
Why is this bad?#
In Python 3.3, xml.etree.cElementTree
was deprecated in favor of
xml.etree.ElementTree
.
Example#
Use instead: