##// END OF EJS Templates
fix error in doc (arg->kwarg) and pep-8
Matthias BUSSONNIER -
Show More
@@ -72,7 +72,7 b' class Configurable(HasTraits):'
72
72
73 class MyConfigurable(Configurable):
73 class MyConfigurable(Configurable):
74 def __init__(self, config=None):
74 def __init__(self, config=None):
75 super(MyConfigurable, self).__init__(config)
75 super(MyConfigurable, self).__init__(config=config)
76 # Then any other code you need to finish initialization.
76 # Then any other code you need to finish initialization.
77
77
78 This ensures that instances will be configured properly.
78 This ensures that instances will be configured properly.
@@ -35,13 +35,11 b' import shutil'
35 import sys
35 import sys
36
36
37 from IPython.config.application import Application, catch_config_error
37 from IPython.config.application import Application, catch_config_error
38 from IPython.config.configurable import Configurable
38 from IPython.config.loader import ConfigFileNotFound
39 from IPython.config.loader import Config, ConfigFileNotFound
40 from IPython.core import release, crashhandler
39 from IPython.core import release, crashhandler
41 from IPython.core.profiledir import ProfileDir, ProfileDirError
40 from IPython.core.profiledir import ProfileDir, ProfileDirError
42 from IPython.utils.path import get_ipython_dir, get_ipython_package_dir
41 from IPython.utils.path import get_ipython_dir, get_ipython_package_dir
43 from IPython.utils.traitlets import List, Unicode, Type, Bool, Dict
42 from IPython.utils.traitlets import List, Unicode, Type, Bool, Dict
44 from IPython.utils import py3compat
45
43
46 #-----------------------------------------------------------------------------
44 #-----------------------------------------------------------------------------
47 # Classes and functions
45 # Classes and functions
General Comments 0
You need to be logged in to leave comments. Login now