Show More
@@ -140,5 +140,12 b' def start_kernel(argv=None, **kwargs):' | |||||
140 | Any other kwargs will be passed to the Application constructor, |
|
140 | Any other kwargs will be passed to the Application constructor, | |
141 | such as `config`. |
|
141 | such as `config`. | |
142 | """ |
|
142 | """ | |
143 | from IPython.kernel.zmq.kernelapp import launch_new_instance |
|
143 | import warnings | |
|
144 | ||||
|
145 | warnings.warn( | |||
|
146 | "start_kernel is deprecated since IPython 8.0, use from `ipykernel.kernelapp.launch_new_instance`", | |||
|
147 | DeprecationWarning, | |||
|
148 | stacklevel=2, | |||
|
149 | ) | |||
|
150 | from ipykernel.kernelapp import launch_new_instance | |||
144 | return launch_new_instance(argv=argv, **kwargs) |
|
151 | return launch_new_instance(argv=argv, **kwargs) |
General Comments 0
You need to be logged in to leave comments.
Login now