diff options
author | Georg Brandl <georg@python.org> | 2013-10-06 07:23:19 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-10-06 07:23:19 (GMT) |
commit | 834a73bf4ff4eb79c0e9cd9d1346751a2deb5db6 (patch) | |
tree | 8cb674bf25ce6bb265d26b9abe80ef3c18694688 /Doc/library | |
parent | dcd45552429f42e72299ad6e3e03e01a49577db6 (diff) | |
parent | bdaee3ac95f569c22a0f40af6f7c339cab40d832 (diff) | |
download | cpython-834a73bf4ff4eb79c0e9cd9d1346751a2deb5db6.zip cpython-834a73bf4ff4eb79c0e9cd9d1346751a2deb5db6.tar.gz cpython-834a73bf4ff4eb79c0e9cd9d1346751a2deb5db6.tar.bz2 |
merge with 3.3
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/xml.etree.elementtree.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst index c15041f..4c89dc3 100644 --- a/Doc/library/xml.etree.elementtree.rst +++ b/Doc/library/xml.etree.elementtree.rst @@ -160,7 +160,7 @@ the sub-tree below it (its children, their children, and so on). For example, :meth:`Element.findall` finds only elements with a tag which are direct children of the current element. :meth:`Element.find` finds the *first* child -with a particular tag, and :meth:`Element.text` accesses the element's text +with a particular tag, and :attr:`Element.text` accesses the element's text content. :meth:`Element.get` accesses the element's attributes:: >>> for country in root.findall('country'): |