##// END OF EJS Templates
only check for formatters on instances...
only check for formatters on instances use inspect.isclass to disallow unbound methods, not type checking on the method itself

File last commit:

r12797:d1ebf45a
r19026:7658e7aa
Show More
ipython_config.py
13 lines | 287 B | text/x-python | PythonLexer
MinRK
reorganize default config files to match profiles as directories...
r3954 c = get_config()
MinRK
load_subconfig supports profiles...
r4030 app = c.InteractiveShellApp
MinRK
reorganize default config files to match profiles as directories...
r3954
# This can be used at any point in a config file to load a sub config
# and merge it into the current one.
MinRK
load_subconfig supports profiles...
r4030 load_subconfig('ipython_config.py', profile='default')
MinRK
reorganize default config files to match profiles as directories...
r3954
lines = """
import cmath
from math import *
"""
MinRK
update bundled profiles to use extend
r12797 app.exec_lines.append(lines)