Searched refs:walk_packages (Results 1 – 11 of 11) sorted by relevance
/third_party/python/Lib/test/ |
D | test_pkgutil.py | 102 for t in pkgutil.walk_packages(path=[self.dirname]): 137 actual= [e[1] for e in pkgutil.walk_packages([self.dirname])] 171 actual= [e[1] for e in pkgutil.walk_packages([zip_file])] 184 list(pkgutil.walk_packages(str_input)) 188 list(pkgutil.walk_packages(bytes_input))
|
D | test_pydoc.py | 390 def _restricted_walk_packages(self, walk_packages, path=None): argument 397 return walk_packages(path or default_path, prefix, onerror) 402 walk_packages = pkgutil.walk_packages 403 pkgutil.walk_packages = self._restricted_walk_packages(walk_packages, 408 pkgutil.walk_packages = walk_packages
|
D | test_runpy.py | 582 for moduleinfo in pkgutil.walk_packages([pkg_dir]):
|
/third_party/python/Doc/library/ |
D | pkgutil.rst | 166 .. function:: walk_packages(path=None, prefix='', onerror=None) 188 walk_packages() 191 walk_packages(ctypes.__path__, ctypes.__name__ + '.')
|
/third_party/python/Lib/ |
D | pkgutil.py | 53 def walk_packages(path=None, prefix='', onerror=None): function 107 yield from walk_packages(path, info.name+'.', onerror)
|
D | pydoc.py | 1801 for importer, modname, ispkg in pkgutil.walk_packages([dir], pkgpath): 2230 for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror):
|
/third_party/python/Doc/whatsnew/ |
D | 3.6.rst | 2295 * The :func:`pkgutil.iter_modules` and :func:`pkgutil.walk_packages`
|
D | 3.3.rst | 2402 :func:`pkgutil.iter_importers` and :func:`pkgutil.walk_packages` functions
|
D | 3.7.rst | 2280 * :meth:`pkgutil.walk_packages` now raises a :exc:`ValueError` if *path* is
|
/third_party/python/Misc/NEWS.d/ |
D | 3.7.0a1.rst | 2360 pkgutil.walk_packages function now raises ValueError if *path* is a string.
|
/third_party/python/Misc/ |
D | HISTORY | 17656 - Patch #1525766: In pkgutil.walk_packages, correctly pass the onerror callback 18334 as ``walk_packages()`` to support working with packages that are either
|