Kaydet (Commit) 9495f182 authored tarafından Brett Cannon's avatar Brett Cannon

Define importlib.__init__.__all__.

üst 2c109ab5
...@@ -18,13 +18,15 @@ References on import: ...@@ -18,13 +18,15 @@ References on import:
http://www.python.org/dev/peps/pep-0328 http://www.python.org/dev/peps/pep-0328
""" """
__all__ = ['__import__', 'import_module']
from . import _bootstrap from . import _bootstrap
# XXX Temporary functions that should eventually be removed.
import os import os
import re import re
import tokenize import tokenize
# XXX Temporary functions that should eventually be removed.
def _set__import__(): def _set__import__():
"""Set __import__ to an instance of Import.""" """Set __import__ to an instance of Import."""
global original__import__ global original__import__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment