diff -r 622723d45ce9 Doc/library/xml.etree.elementtree.rst --- a/Doc/library/xml.etree.elementtree.rst Mon Oct 08 00:38:10 2012 -0700 +++ b/Doc/library/xml.etree.elementtree.rst Mon Oct 08 13:43:02 2012 -0700 @@ -293,7 +293,8 @@ +-----------------------+------------------------------------------------------+ | ``..`` | Selects the parent element. You can use it inside | | | the subtree, but it cannot go above the target | -| | element (the element you called "find" on). | +| | element (the element you called "find" on). An xpath | +| | above the start element returns ``None``. | +-----------------------+------------------------------------------------------+ | ``[@attrib]`` | Selects all elements that have the given attribute. | +-----------------------+------------------------------------------------------+ @@ -523,7 +524,7 @@ .. method:: clear() Resets an element. This function removes all subelements, clears all - attributes, and sets the text and tail attributes to None. + attributes, and sets the text and tail attributes to ``None``. .. method:: get(key, default=None)