@@ -692,8 +692,7 @@ def getiterator(self, tag=None):
692692 return list (self .iter (tag ))
693693
694694 ##
695- # Finds the first toplevel element with given tag.
696- # Same as getroot().find(path).
695+ # Same as getroot().find(path), starting at the root of the tree.
697696 #
698697 # @param path What element to look for.
699698 # @keyparam namespaces Optional namespace prefix map.
@@ -713,10 +712,9 @@ def find(self, path, namespaces=None):
713712 return self ._root .find (path , namespaces )
714713
715714 ##
716- # Finds the element text for the first toplevel element with given
717- # tag. Same as getroot().findtext(path).
715+ # Same as getroot().findtext(path), starting at the root of the tree.
718716 #
719- # @param path What toplevel element to look for.
717+ # @param path What element to look for.
720718 # @param default What to return if the element was not found.
721719 # @keyparam namespaces Optional namespace prefix map.
722720 # @return The text content of the first matching element, or the
@@ -738,8 +736,7 @@ def findtext(self, path, default=None, namespaces=None):
738736 return self ._root .findtext (path , default , namespaces )
739737
740738 ##
741- # Finds all toplevel elements with the given tag.
742- # Same as getroot().findall(path).
739+ # Same as getroot().findall(path), starting at the root of the tree.
743740 #
744741 # @param path What element to look for.
745742 # @keyparam namespaces Optional namespace prefix map.
0 commit comments