Home
last modified time | relevance | path

Searched refs:is_subtree (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_next.py89 elif is_subtree(child, node):
100 def is_subtree(root, node): function
103 return any(is_subtree(c, node) for c in root.children)
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_next.py89 elif is_subtree(child, node):
100 def is_subtree(root, node): function
103 return any(is_subtree(c, node) for c in root.children)