From: Brett Cannon Date: Thu, 12 Mar 2009 22:01:40 +0000 (+0000) Subject: Define importlib.__init__.__all__. X-Git-Tag: v3.1a2~280 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9495f182a0a8705931a2d6b67b36890dc22720ee;p=thirdparty%2FPython%2Fcpython.git Define importlib.__init__.__all__. --- diff --git a/Lib/importlib/__init__.py b/Lib/importlib/__init__.py index 7688ec2cada8..2f93621bed03 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__