summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/util.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-05-30 21:31:47 (GMT)
committerBrett Cannon <brett@python.org>2013-05-30 21:31:47 (GMT)
commit357c9fb0556e0ec9d440a4874b6af19d7b0bee7b (patch)
tree9eaf7e79f980770c75961a06ce92a8f647b10dad /Lib/importlib/util.py
parent335ab5b66f432ae3713840ed2403a11c368f5406 (diff)
downloadcpython-357c9fb0556e0ec9d440a4874b6af19d7b0bee7b.zip
cpython-357c9fb0556e0ec9d440a4874b6af19d7b0bee7b.tar.gz
cpython-357c9fb0556e0ec9d440a4874b6af19d7b0bee7b.tar.bz2
Rename importlib.util.ModuleManager to module_to_load so that the name
explains better what the context manager is providing.
Diffstat (limited to 'Lib/importlib/util.py')
-rw-r--r--Lib/importlib/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/util.py b/Lib/importlib/util.py
index f817a40..74eef2a 100644
--- a/Lib/importlib/util.py
+++ b/Lib/importlib/util.py
@@ -1,6 +1,6 @@
"""Utility code for constructing importers, etc."""
-from ._bootstrap import ModuleManager
+from ._bootstrap import module_to_load
from ._bootstrap import module_for_loader
from ._bootstrap import set_loader
from ._bootstrap import set_package