##// END OF EJS Templates
Add shim module to allow flattening of namespace.
Fernando Perez -
Show More
@@ -0,0 +1,11
1 import sys
2 import types
3
4
5 class ShimModule(types.ModuleType):
6
7 def __getattribute__(self, key):
8 exec 'from IPython import %s' % key
9 return eval(key)
10
11 sys.modules['IPython.frontend'] = ShimModule('frontend')
General Comments 0
You need to be logged in to leave comments. Login now