Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_pkgutil.py102 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))
Dtest_pydoc.py390 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
Dtest_runpy.py582 for moduleinfo in pkgutil.walk_packages([pkg_dir]):
/third_party/python/Doc/library/
Dpkgutil.rst166 .. function:: walk_packages(path=None, prefix='', onerror=None)
188 walk_packages()
191 walk_packages(ctypes.__path__, ctypes.__name__ + '.')
/third_party/python/Lib/
Dpkgutil.py53 def walk_packages(path=None, prefix='', onerror=None): function
107 yield from walk_packages(path, info.name+'.', onerror)
Dpydoc.py1801 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/
D3.6.rst2295 * The :func:`pkgutil.iter_modules` and :func:`pkgutil.walk_packages`
D3.3.rst2402 :func:`pkgutil.iter_importers` and :func:`pkgutil.walk_packages` functions
D3.7.rst2280 * :meth:`pkgutil.walk_packages` now raises a :exc:`ValueError` if *path* is
/third_party/python/Misc/NEWS.d/
D3.7.0a1.rst2360 pkgutil.walk_packages function now raises ValueError if *path* is a string.
/third_party/python/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