mirror of
https://github.com/python/cpython.git
synced 2025-12-09 18:48:05 +00:00
Define importlib.__init__.__all__.
This commit is contained in:
parent
2c109ab514
commit
9495f182a0
1 changed files with 3 additions and 1 deletions
|
|
@ -18,13 +18,15 @@ References on import:
|
|||
http://www.python.org/dev/peps/pep-0328
|
||||
|
||||
"""
|
||||
__all__ = ['__import__', 'import_module']
|
||||
|
||||
from . import _bootstrap
|
||||
|
||||
# XXX Temporary functions that should eventually be removed.
|
||||
import os
|
||||
import re
|
||||
import tokenize
|
||||
|
||||
# XXX Temporary functions that should eventually be removed.
|
||||
def _set__import__():
|
||||
"""Set __import__ to an instance of Import."""
|
||||
global original__import__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue