summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-06 07:23:19 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-06 07:23:19 (GMT)
commit834a73bf4ff4eb79c0e9cd9d1346751a2deb5db6 (patch)
tree8cb674bf25ce6bb265d26b9abe80ef3c18694688 /Doc/library
parentdcd45552429f42e72299ad6e3e03e01a49577db6 (diff)
parentbdaee3ac95f569c22a0f40af6f7c339cab40d832 (diff)
downloadcpython-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.rst2
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'):