From 9495f182a0a8705931a2d6b67b36890dc22720ee Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Thu, 12 Mar 2009 22:01:40 +0000 Subject: Define importlib.__init__.__all__. --- Lib/importlib/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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__ -- cgit v0.12