Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Drunpy.py185 def _get_importer(path_name): argument
189 importer = cache[path_name]
194 cache[path_name] = None
197 importer = hook(path_name)
207 importer = imp.NullImporter(path_name)
210 cache[path_name] = importer
223 def run_path(path_name, init_globals=None, run_name=None): argument
235 importer = _get_importer(path_name)
239 code = _get_code_from_file(path_name)
240 return _run_module_code(code, init_globals, run_name, path_name)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Drunpy.py185 def _get_importer(path_name): argument
189 importer = cache[path_name]
194 cache[path_name] = None
197 importer = hook(path_name)
207 importer = imp.NullImporter(path_name)
210 cache[path_name] = importer
223 def run_path(path_name, init_globals=None, run_name=None): argument
235 importer = _get_importer(path_name)
239 code = _get_code_from_file(path_name)
240 return _run_module_code(code, init_globals, run_name, path_name)
[all …]