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 santoso.wijaya
Recipients santoso.wijaya
Date 2014-04-30.20:59:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398891574.32.0.481758531808.issue21403@psf.upfronthosting.co.za>
In-reply-to
Content
Or, more succintly:


Python 2.7.6 (default, Mar 22 2014, 22:59:56) 
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import xml.etree.ElementTree as ET
>>> root = ET.Element('Root', attrib={'Name':'Root'})
>>> root.attrib
{'Name': 'Root'}



>>> import xml.etree.cElementTree as cET
>>> root = cET.Element('Root', attrib={'Name':'Root'})
>>> root.attrib
{'attrib': {'Name': 'Root'}}
History
Date User Action Args
2014-04-30 20:59:34santoso.wijayasetrecipients: + santoso.wijaya
2014-04-30 20:59:34santoso.wijayasetmessageid: <1398891574.32.0.481758531808.issue21403@psf.upfronthosting.co.za>
2014-04-30 20:59:34santoso.wijayalinkissue21403 messages
2014-04-30 20:59:34santoso.wijayacreate