##// END OF EJS Templates
Add shim module to allow flattening of namespace.
Add shim module to allow flattening of namespace.

File last commit:

r11008:878d5e9c
r11008:878d5e9c
Show More
frontend.py
11 lines | 227 B | text/x-python | PythonLexer
import sys
import types
class ShimModule(types.ModuleType):
def __getattribute__(self, key):
exec 'from IPython import %s' % key
return eval(key)
sys.modules['IPython.frontend'] = ShimModule('frontend')