(self, path, namespaces=None)
return self._root.find(path, namespaces)
Find first matching element by tag name or path.

        Same as getroot().find(path), which is Element.find()

        *path* is a string having either an element tag or an XPath,
        *namespaces* is an optional mapping from namespace prefix to full name.

        Return the first matching element, or None if no element was found.
Find first matching element by tag name or path.
Find first matching element by tag name or path .
def find(self, path, namespaces=None):
        """Find first matching element by tag name or path.

        Same as getroot().find(path), which is Element.find()

        *path* is a string having either an element tag or an XPath,
        *namespaces* is an optional mapping from namespace prefix to full name.

        Return the first matching element, or None if no element was found.

        """
        # assert self._root is not None
        if path[:1] == "/":
            path = "." + path
            warnings.warn(
                "This search is broken in 1.3 and earlier, and will be "
                "fixed in a future version.  If you rely on the current "
                "behaviour, change it to %r" % path,
                FutureWarning, stacklevel=2
                )
        return self._root.find(path, namespaces)
def find ( self , path , namespaces = None ) : # assert self._root is not None if path [ : 1 ] == "/" : path = "." + path warnings . warn ( "This search is broken in 1.3 and earlier, and will be " "fixed in a future version.  If you rely on the current " "behaviour, change it to %r" % path , FutureWarning , stacklevel = 2 ) return self . _root . find ( path , namespaces )