Home
last modified time | relevance | path

Searched refs:ispkg (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/
Dpkgutil.py105 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
Drunpy.py105 ispkg = loader.is_package(mod_name)
108 if ispkg:
Dimputil.py285 ispkg, code, values = result
297 module.__ispkg__ = ispkg
Dpydoc.py703 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/
Dbundlebuilder.py251 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/
Dtest_importhooks.py69 ispkg, code = self.modules[fullname]
73 if ispkg:
/external/devlib/devlib/utils/
Dmisc.py198 for _, name, ispkg in pkgutil.iter_modules(root_mod.__path__):
200 if ispkg:
/external/python/cpython2/Doc/library/
Dpkgutil.rst136 Yields ``(module_loader, name, ispkg)`` for all submodules on *path*, or, if
146 Yields ``(module_loader, name, ispkg)`` for all modules recursively on