diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst --- a/Doc/library/xml.etree.elementtree.rst +++ b/Doc/library/xml.etree.elementtree.rst @@ -156,7 +156,7 @@ {'name': 'Costa Rica', 'direction': 'W'} {'name': 'Colombia', 'direction': 'E'} -:meth:`Element.findall` finds only elements with a tag which are direct +In this 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 :attr:`Element.text` accesses the element's text content. :meth:`Element.get` accesses the element's attributes::