Home
last modified time | relevance | path

Searched refs:iterfind (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Lib/xml/etree/
DElementPath.py293 for e in elem.iterfind(tag):
361 def iterfind(elem, path, namespaces=None): function
406 return next(iterfind(elem, path, namespaces), None)
412 return list(iterfind(elem, path, namespaces))
419 elem = next(iterfind(elem, path, namespaces))
DElementTree.py319 def iterfind(self, path, namespaces=None): member in Element
328 return ElementPath.iterfind(self, path, namespaces)
671 def iterfind(self, path, namespaces=None): member in ElementTree
691 return self._root.iterfind(path, namespaces)
/third_party/python/Lib/test/
Dtest_xml_etree.py261 check_method(element.iterfind)
277 check_iter(element.iterfind("tag"))
278 check_iter(element.iterfind("*"))
279 check_iter(tree.iterfind("tag"))
280 check_iter(tree.iterfind("*"))
3874 self.assertEqual(list(x.iterfind('a', None)),
3875 list(x.iterfind(path='a', namespaces=None)))
/third_party/python/Doc/library/
Dxml.etree.elementtree.rst1017 .. method:: iterfind(match, namespaces=None)
1146 .. method:: iterfind(match, namespaces=None)
1148 Same as :meth:`Element.iterfind`, starting at the root of the tree.
/third_party/python/Modules/
D_elementtree.c1376 _Py_IDENTIFIER(iterfind); in _elementtree_Element_iterfind_impl()
/third_party/python/Doc/whatsnew/
D3.2.rst733 * :meth:`xml.etree.ElementTree.Element.iterfind` searches an element and