diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-03-12 22:01:40 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-03-12 22:01:40 (GMT) |
commit | 9495f182a0a8705931a2d6b67b36890dc22720ee (patch) | |
tree | 8d3c05f1b75fe78c4bc758eff15103148b40bfe2 /Lib/importlib | |
parent | 2c109ab5140e948e2233606cbb6c8e3573a20903 (diff) | |
download | cpython-9495f182a0a8705931a2d6b67b36890dc22720ee.zip cpython-9495f182a0a8705931a2d6b67b36890dc22720ee.tar.gz cpython-9495f182a0a8705931a2d6b67b36890dc22720ee.tar.bz2 |
Define importlib.__init__.__all__.
Diffstat (limited to 'Lib/importlib')
-rw-r--r-- | Lib/importlib/__init__.py | 4 |
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__ |