##// END OF EJS Templates
Added compatibility layer for Shell/ipapi/iplib....
Added compatibility layer for Shell/ipapi/iplib. These 3 top-level modules have been moved to core. But, to ease the transition to their new location, we have re-created these modules at the top-level. The new top-level modules print a warning statement and simple import the moved modules for now. In the long run, we can use these for further compatibility related things.

File last commit:

r1715:78d99fed
r2061:73165067
Show More
sample_config.py
19 lines | 447 B | text/x-python | PythonLexer
from IPython.config.api import *
class SubSubSample(Config):
my_int = Int(3)
class Sample(Config):
my_float = Float(3)
my_choice = Enum('a','b','c')
class MiddleSection(Config):
left_alone = Enum('1','2','c')
unknown_mod = Module('asd')
class SubSample(Config):
subsample_uri = URI('http://localhost:8080')
# Example of how to include external config
SubSubSample = SubSubSample()