diff options
| author | Brett Cannon <bcannon@gmail.com> | 2009-03-10 05:17:37 (GMT) |
|---|---|---|
| committer | Brett Cannon <bcannon@gmail.com> | 2009-03-10 05:17:37 (GMT) |
| commit | 2cf03a820483babd243a48de47865585fa697235 (patch) | |
| tree | 8f568016f9c3bdc2c6be744ce65057b48c100e91 /Lib/importlib/util.py | |
| parent | d43b30b046ea151612494ed6d44aed3df71b480a (diff) | |
| download | cpython-2cf03a820483babd243a48de47865585fa697235.zip cpython-2cf03a820483babd243a48de47865585fa697235.tar.gz cpython-2cf03a820483babd243a48de47865585fa697235.tar.bz2 | |
Implement importlib.util.set_loader: a decorator to automatically set
__loader__ on modules.
Diffstat (limited to 'Lib/importlib/util.py')
| -rw-r--r-- | Lib/importlib/util.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/importlib/util.py b/Lib/importlib/util.py index 9022ab8..3abc6a9 100644 --- a/Lib/importlib/util.py +++ b/Lib/importlib/util.py @@ -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 |
