/external/python/cpython3/Lib/test/test_importlib/source/ |
D | test_file_loader.py | 247 def import_(self, file, module_name): member in BadBytecodeTest 318 self.import_(file_path, '_temp') 327 self.import_(file_path, '_temp') 338 self.import_(file_path, '_temp') 349 def import_(self, file, module_name): member in BadBytecodeTestPEP451 358 def import_(self, file, module_name): member in BadBytecodeTestPEP302 377 self.import_(mapping[name], name) 385 self.import_(mapping[name], name) 396 self.import_(mapping[name], name) 407 self.import_(mapping[name], name) [all …]
|
D | test_finder.py | 48 def import_(self, root, module): member in FinderTests 77 loader = self.import_(mapping['.root'], test) 104 loader = self.import_(pkg_dir, 'pkg.sub') 112 loader = self.import_(pkg_dir, 'pkg.sub') 123 nothing = self.import_(mapping['.root'], 'sdfsadsadf')
|
/external/python/cpython3/Tools/importbench/ |
D | importbench.py | 165 def main(import_, options): argument 171 __builtins__.__import__ = import_ 240 import_ = __import__ variable 242 import_ = importlib.__import__ variable 244 main(import_, options)
|
/external/python/cpython3/Lib/lib2to3/tests/ |
D | test_util.py | 125 for package, name, import_ in failing_tests: 126 n = self.does_tree_import(package, name, import_ + "\n" + string) 128 n = self.does_tree_import(package, name, string + "\n" + import_) 138 for package, name, import_ in passing_tests: 139 n = self.does_tree_import(package, name, import_ + "\n" + string) 141 n = self.does_tree_import(package, name, string + "\n" + import_)
|
/external/python/cpython2/Lib/lib2to3/tests/ |
D | test_util.py | 128 for package, name, import_ in failing_tests: 129 n = self.does_tree_import(package, name, import_ + "\n" + string) 131 n = self.does_tree_import(package, name, string + "\n" + import_) 141 for package, name, import_ in passing_tests: 142 n = self.does_tree_import(package, name, import_ + "\n" + string) 144 n = self.does_tree_import(package, name, string + "\n" + import_)
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap.py | 931 def _find_and_load_unlocked(name, import_): argument 936 _call_with_frames_removed(import_, parent) 958 def _find_and_load(name, import_): argument 961 return _find_and_load_unlocked(name, import_) 989 def _handle_fromlist(module, fromlist, import_): argument 1009 _call_with_frames_removed(import_, from_name)
|
/external/python/cpython3/Lib/lib2to3/ |
D | fixer_util.py | 349 import_ = Node(syms.import_name, [ 354 import_ = FromImport(package, [Leaf(token.NAME, name, prefix=" ")]) 356 children = [import_, Newline()]
|
/external/python/cpython2/Lib/lib2to3/ |
D | fixer_util.py | 328 import_ = Node(syms.import_name, [ 333 import_ = FromImport(package, [Leaf(token.NAME, name, prefix=u" ")]) 335 children = [import_, Newline()]
|
/external/python/cpython3/Lib/test/libregrtest/ |
D | save_env.py | 125 def restore___import__(self, import_): argument 126 builtins.__import__ = import_
|
/external/libmojo/third_party/jinja2/ |
D | compiler.py | 782 for import_ in node.find_all(nodes.ImportedName): 783 if import_.importname not in self.import_aliases: 784 imp = import_.importname
|
/external/python/cpython3/ |
D | Makefile.pre.in | 1242 test/test_importlib/import_ test/test_importlib/source \
|