summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/util.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-06-14 23:02:34 (GMT)
committerBrett Cannon <brett@python.org>2013-06-14 23:02:34 (GMT)
commit05a647deedd11c227619f9463920526471db54f1 (patch)
tree0b7ac3a4d54cbd4fc5065484104385c61ef56fd9 /Lib/importlib/util.py
parent4d7056258b07df7cbb1b9b44e7a1a9bad04f7454 (diff)
downloadcpython-05a647deedd11c227619f9463920526471db54f1.zip
cpython-05a647deedd11c227619f9463920526471db54f1.tar.gz
cpython-05a647deedd11c227619f9463920526471db54f1.tar.bz2
Issue #18192: Introduce importlib.util.MAGIC_NUMBER and document the
deprecation of imp.get_magic().
Diffstat (limited to 'Lib/importlib/util.py')
-rw-r--r--Lib/importlib/util.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/importlib/util.py b/Lib/importlib/util.py
index 9cf0eb7..09ec03c 100644
--- a/Lib/importlib/util.py
+++ b/Lib/importlib/util.py
@@ -1,5 +1,6 @@
"""Utility code for constructing importers, etc."""
+from ._bootstrap import MAGIC_NUMBER
from ._bootstrap import module_to_load
from ._bootstrap import set_loader
from ._bootstrap import set_package