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