Commit 7f400e13 authored by Brett Cannon's avatar Brett Cannon

Add some comment markers to more clearly delineate what different parts of the

code are for. Also add a note that the import * at the end of the file should
eventually go away.
parent 5abdc93e
......@@ -38,6 +38,8 @@ def _reset__import__():
__builtins__['__import__'] = original__import__
# Bootstrap help #####################################################
def _case_ok(directory, check):
"""Check if the directory contains something matching 'check'.
......@@ -110,6 +112,8 @@ marshal._w_long = _w_long
marshal._r_long = _r_long
# Public API #########################################################
__import__ = _bootstrap.Import().__call__
......@@ -134,5 +138,5 @@ def import_module(name, package=None):
return sys.modules[name]
# XXX This should go away once the public API is done.
from ._bootstrap import *
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment