This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ArcRiley
Recipients ArcRiley
Date 2010-02-22.16:36:01
SpamBayes Score 0.0179103
Marked as misclassified No
Message-id <>
>>> import xml.etree.cElementTree as ET
>>> tree = ET.parse('test.xml')
>>> root = tree.getroot()
>>> dir(root)
['!__reduce__', '__class__', '__copy__', '__deepcopy__', '__delattr__', '__delitem__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear', 'find', 'findall', 'findtext', 'get', 'getchildren', 'getiterator', 'insert', 'items', 'keys', 'makeelement', 'remove', 'set']
>>> root.tag

The tag property is not listed in dir() making ElementTree more difficult to use for those of us with poor memories.
Date User Action Args
2010-02-22 16:36:03ArcRileysetrecipients: + ArcRiley
2010-02-22 16:36:03ArcRileysetmessageid: <>
2010-02-22 16:36:02ArcRileylinkissue7990 messages
2010-02-22 16:36:01ArcRileycreate