summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/__init__.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-03-12 22:01:40 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-03-12 22:01:40 (GMT)
commit9495f182a0a8705931a2d6b67b36890dc22720ee (patch)
tree8d3c05f1b75fe78c4bc758eff15103148b40bfe2 /Lib/importlib/__init__.py
parent2c109ab5140e948e2233606cbb6c8e3573a20903 (diff)
downloadcpython-9495f182a0a8705931a2d6b67b36890dc22720ee.zip
cpython-9495f182a0a8705931a2d6b67b36890dc22720ee.tar.gz
cpython-9495f182a0a8705931a2d6b67b36890dc22720ee.tar.bz2
Define importlib.__init__.__all__.
Diffstat (limited to 'Lib/importlib/__init__.py')
-rw-r--r--Lib/importlib/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/importlib/__init__.py b/Lib/importlib/__init__.py
index 7688ec2..2f93621 100644
--- a/Lib/importlib/__init__.py
+++ b/Lib/importlib/__init__.py
@@ -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__