Searched refs:does_tree_import (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Lib/lib2to3/tests/ |
D | test_util.py | 116 def does_tree_import(self, package, name, string): member in Test_does_tree_import 120 return fixer_util.does_tree_import(package, name, node) 129 n = self.does_tree_import(package, name, import_ + "\n" + string) 131 n = self.does_tree_import(package, name, string + "\n" + import_) 142 n = self.does_tree_import(package, name, import_ + "\n" + string) 144 n = self.does_tree_import(package, name, string + "\n" + import_)
|
/external/python/cpython2/Lib/lib2to3/ |
D | fixer_base.py | 13 from .fixer_util import does_tree_import 188 self._should_skip = does_tree_import(pkg, name, node)
|
D | fixer_util.py | 282 def does_tree_import(package, name, node): function 303 if does_tree_import(package, name, root):
|