Issue #18192: Introduce importlib.util.MAGIC_NUMBER and document the

deprecation of imp.get_magic().
This commit is contained in:
Brett Cannon 2013-06-14 19:02:34 -04:00
parent 4d7056258b
commit 05a647deed
8 changed files with 37 additions and 8 deletions

View file

@ -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