[Python-checkins] r70331 - python/branches/py3k/Lib/importlib/__init__.py
brett.cannon
python-checkins at python.org
Thu Mar 12 23:01:40 CET 2009
Author: brett.cannon
Date: Thu Mar 12 23:01:40 2009
New Revision: 70331
Log:
Define importlib.__init__.__all__.
Modified:
python/branches/py3k/Lib/importlib/__init__.py
Modified: python/branches/py3k/Lib/importlib/__init__.py
==============================================================================
--- python/branches/py3k/Lib/importlib/__init__.py (original)
+++ python/branches/py3k/Lib/importlib/__init__.py Thu Mar 12 23:01:40 2009
@@ -18,13 +18,15 @@
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__
More information about the Python-checkins
mailing list