mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Add importlib.machinery with its first tenants, BuitinImporter and
FrozenImporter. Docs forthcoming. I plan on all finders and loaders (and most likely hooks) to live in imoprtlib.machinery. Utility stuff will end up in importlib.util. Higher-level API stuff will stay on imoprtlib directly (e.g. import_module).
This commit is contained in:
parent
7b3c89d88c
commit
5abdc93eb8
7 changed files with 68 additions and 75 deletions
4
Lib/importlib/machinery.py
Normal file
4
Lib/importlib/machinery.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
"""The machinery of importlib: finders, loaders, hooks, etc."""
|
||||
|
||||
from ._bootstrap import BuiltinImporter
|
||||
from ._bootstrap import FrozenImporter
|
Loading…
Add table
Add a link
Reference in a new issue