Home
last modified time | relevance | path

Searched refs:walk_packages (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_pydoc.py290 def _restricted_walk_packages(self, walk_packages, path=None): argument
297 return walk_packages(path or default_path, prefix, onerror)
302 walk_packages = pkgutil.walk_packages
303 pkgutil.walk_packages = self._restricted_walk_packages(walk_packages,
308 pkgutil.walk_packages = walk_packages
Dtest_pkgutil.py89 for t in pkgutil.walk_packages(path=[self.dirname]):
/external/python/cpython3/Lib/test/
Dtest_pydoc.py393 def _restricted_walk_packages(self, walk_packages, path=None): argument
400 return walk_packages(path or default_path, prefix, onerror)
405 walk_packages = pkgutil.walk_packages
406 pkgutil.walk_packages = self._restricted_walk_packages(walk_packages,
411 pkgutil.walk_packages = walk_packages
Dtest_pkgutil.py101 for t in pkgutil.walk_packages(path=[self.dirname]):
136 actual= [e[1] for e in pkgutil.walk_packages([self.dirname])]
170 actual= [e[1] for e in pkgutil.walk_packages([zip_file])]
Dtest_runpy.py580 for moduleinfo in pkgutil.walk_packages([pkg_dir]):
/external/python/cpython2/Doc/library/
Dpkgutil.rst144 .. function:: walk_packages(path=None, prefix='', onerror=None)
166 walk_packages()
169 walk_packages(ctypes.__path__, ctypes.__name__ + '.')
/external/python/cpython3/Doc/library/
Dpkgutil.rst166 .. function:: walk_packages(path=None, prefix='', onerror=None)
188 walk_packages()
191 walk_packages(ctypes.__path__, ctypes.__name__ + '.')
/external/python/cpython2/Lib/
Dpkgutil.py71 def walk_packages(path=None, prefix='', onerror=None): function
125 for item in walk_packages(path, name+'.', onerror):
Dpydoc.py1598 for importer, modname, ispkg in pkgutil.walk_packages([dir], pkgpath):
2006 for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror):
/external/python/cpython3/Lib/
Dpkgutil.py53 def walk_packages(path=None, prefix='', onerror=None): function
107 yield from walk_packages(path, info.name+'.', onerror)
Dpydoc.py1665 for importer, modname, ispkg in pkgutil.walk_packages([dir], pkgpath):
2079 for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror):
/external/python/cpython3/Doc/whatsnew/
D3.6.rst2241 * The :func:`pkgutil.iter_modules` and :func:`pkgutil.walk_packages`
D3.3.rst2402 :func:`pkgutil.iter_importers` and :func:`pkgutil.walk_packages` functions
/external/python/cpython2/Misc/
DHISTORY272 - Patch #1525766: In pkgutil.walk_packages, correctly pass the onerror callback
950 as ``walk_packages()`` to support working with packages that are either
/external/python/cpython3/Misc/
DHISTORY17656 - Patch #1525766: In pkgutil.walk_packages, correctly pass the onerror callback
18334 as ``walk_packages()`` to support working with packages that are either