preload_module function for IDEs, to control which modules to load on startup, refs #102

This commit is contained in:
David Halter committed 2013-05-13 09:13:59 +04:30
1 parent b5b625ea14
commit 15885e8685
3 files changed
+35 -6

No files matched your search

+2 -1
View File
@@ -42,7 +42,8 @@ import sys
# imports and circular imports... Just avoid it:
sys.path.insert(0, __path__[0])
from .api import Script, NotFoundError, set_debug_function, _quick_complete
from .api import Script, NotFoundError, set_debug_function, _quick_complete, \
preload_module
from . import settings
sys.path.pop(0)