Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
Dpkgutil.py90 if info.ispkg:
130 for name, ispkg in iter_importer_modules(i, prefix):
133 yield ModuleInfo(i, name, ispkg)
163 ispkg = False
175 ispkg = True
182 yield prefix + modname, ispkg
246 ispkg = False
258 ispkg = True
265 yield prefix + modname, ispkg
Dpydoc.py728 for importer, modname, ispkg in pkgutil.iter_modules(object.__path__):
729 modpkgs.append((modname, name, ispkg, 0))
1027 for importer, name, ispkg in pkgutil.iter_modules([dir]):
1031 modpkgs.append((name, '', ispkg, name in shadowed))
1156 for importer, modname, ispkg in pkgutil.iter_modules(object.__path__):
1158 if ispkg:
1692 for importer, modname, ispkg in pkgutil.walk_packages([dir], pkgpath):
2121 for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror):
/external/python/cpython2/Lib/
Dpkgutil.py102 for importer, name, ispkg in iter_modules(path, prefix):
103 yield importer, name, ispkg
105 if ispkg:
144 for name, ispkg in iter_importer_modules(i, prefix):
147 yield i, name, ispkg
207 ispkg = False
219 ispkg = True
226 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):
2012 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/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
/external/python/cpython3/Doc/library/
Dpkgutil.rst14 .. class:: ModuleInfo(module_finder, name, ispkg)
/external/python/cpython3/Lib/test/
Dtest_runpy.py584 if moduleinfo.ispkg: