Show More
@@ -144,14 +144,3 b' def start_kernel(argv=None, **kwargs):' | |||||
144 | from IPython.kernel.zmq.kernelapp import launch_new_instance |
|
144 | from IPython.kernel.zmq.kernelapp import launch_new_instance | |
145 | return launch_new_instance(argv=argv, **kwargs) |
|
145 | return launch_new_instance(argv=argv, **kwargs) | |
146 |
|
146 | |||
147 | # deprecated shim for IPython.Config |
|
|||
148 | import traitlets.config |
|
|||
149 | class Config(traitlets.config.Config): |
|
|||
150 | def __init__(self, *args, **kwargs): |
|
|||
151 | warnings.warn( |
|
|||
152 | "IPython.Config is deprecated and will be removed in IPython 5." |
|
|||
153 | " Use traitlets.config.Config.", |
|
|||
154 | DeprecationWarning, stacklevel=2, |
|
|||
155 | ) |
|
|||
156 | super(Config, self).__init__(*args, **kwargs) |
|
|||
157 |
|
General Comments 0
You need to be logged in to leave comments.
Login now