Searched refs:ispkg (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Lib/ |
D | pkgutil.py | 105 for importer, name, ispkg in iter_modules(path, prefix): 106 yield importer, name, ispkg 108 if ispkg: 147 for name, ispkg in iter_importer_modules(i, prefix): 150 yield i, name, ispkg 210 ispkg = False 222 ispkg = True 229 yield prefix + modname, ispkg
|
D | runpy.py | 105 ispkg = loader.is_package(mod_name) 108 if ispkg:
|
D | imputil.py | 285 ispkg, code, values = result 297 module.__ispkg__ = ispkg
|
D | pydoc.py | 703 for importer, modname, ispkg in pkgutil.iter_modules(object.__path__): 704 modpkgs.append((modname, name, ispkg, 0)) 986 for importer, name, ispkg in pkgutil.iter_modules([dir]): 987 modpkgs.append((name, '', ispkg, name in shadowed)) 1116 for importer, modname, ispkg in pkgutil.iter_modules(object.__path__): 1118 if ispkg: 1598 for importer, modname, ispkg in pkgutil.walk_packages([dir], pkgpath): 2006 for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror):
|
/external/python/cpython2/Lib/plat-mac/ |
D | bundlebuilder.py | 251 def getPycData(fullname, code, ispkg): argument 252 if ispkg: 574 for name, code, ispkg in self.pymodules: 576 path, pyc = getPycData(name, code, ispkg) 585 for name, code, ispkg in self.pymodules: 586 if ispkg: 591 if ispkg: 681 ispkg = mod.__path__ is not None 685 self.pymodules.append((name, mod.__code__, ispkg))
|
/external/python/cpython2/Lib/test/ |
D | test_importhooks.py | 69 ispkg, code = self.modules[fullname] 73 if ispkg:
|
/external/devlib/devlib/utils/ |
D | misc.py | 198 for _, name, ispkg in pkgutil.iter_modules(root_mod.__path__): 200 if ispkg:
|
/external/python/cpython2/Doc/library/ |
D | pkgutil.rst | 136 Yields ``(module_loader, name, ispkg)`` for all submodules on *path*, or, if 146 Yields ``(module_loader, name, ispkg)`` for all modules recursively on
|