Searched refs:iterfind (Results 1 – 6 of 6) sorted by relevance
/third_party/python/Lib/xml/etree/ |
D | ElementPath.py | 293 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))
|
D | ElementTree.py | 319 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/ |
D | test_xml_etree.py | 261 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/ |
D | xml.etree.elementtree.rst | 1017 .. 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.c | 1376 _Py_IDENTIFIER(iterfind); in _elementtree_Element_iterfind_impl()
|
/third_party/python/Doc/whatsnew/ |
D | 3.2.rst | 733 * :meth:`xml.etree.ElementTree.Element.iterfind` searches an element and
|