Home
last modified time | relevance | path

Searched refs:module_for_loader (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Lib/test/test_importlib/
Dtest_util.py128 def module_for_loader(cls, func): member in ModuleForLoaderTests
131 return cls.util.module_for_loader(func)
138 func = self.util.module_for_loader(lambda x: x)
141 fxn = self.module_for_loader(lambda self, module: module)
147 fxn = self.module_for_loader(to_wrap)
168 @self.module_for_loader
202 wrapped = self.module_for_loader(fxn)
228 @self.module_for_loader
Dtest_spec.py59 @frozen_util.module_for_loader
/external/python/cpython3/Lib/importlib/
Dutil.py180 def module_for_loader(fxn): function
/external/python/cpython3/Doc/library/
Dimportlib.rst419 alone (see :func:`importlib.util.module_for_loader`).
444 :func:`importlib.util.module_for_loader` decorator can handle the
449 :func:`importlib.util.module_for_loader` decorator can handle the
1528 .. decorator:: module_for_loader
/external/python/cpython3/Doc/whatsnew/
D3.4.rst2100 :meth:`importlib.util.module_for_loader`, :meth:`importlib.util.set_loader`,
2280 * :meth:`importlib.util.module_for_loader` now sets ``__loader__`` and
/external/python/cpython3/Misc/
DHISTORY4917 importlib.util.module_for_loader.
4923 - Issue #18070: Have importlib.util.module_for_loader() set attributes
7773 object for importlib.util.module_for_loader and
7833 - Issue #14646: importlib.util.module_for_loader() now sets __loader__ and