The syntax you’re trying to use is new in ElementTree 1.3.
Such version is shipped with Python 2.7 or higher.
If you have Python 2.6 or less you still have ElementTree 1.2.6 or less.
The syntax you’re trying to use is new in ElementTree 1.3.
Such version is shipped with Python 2.7 or higher.
If you have Python 2.6 or less you still have ElementTree 1.2.6 or less.