mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Implement importlib.util.set_loader: a decorator to automatically set
__loader__ on modules.
This commit is contained in:
parent
d43b30b046
commit
2cf03a8204
7 changed files with 34 additions and 12 deletions
|
@ -1,3 +1,4 @@
|
|||
"""Utility code for constructing importers, etc."""
|
||||
from ._bootstrap import module_for_loader
|
||||
from ._bootstrap import set_loader
|
||||
from ._bootstrap import set_package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue