Show More
@@ -664,7 +664,7 b' def launch_kernel(*args, **kwargs):' | |||||
664 |
|
664 | |||
665 | def main(): |
|
665 | def main(): | |
666 | """Run an IPKernel as an application""" |
|
666 | """Run an IPKernel as an application""" | |
667 | app = IPKernelApp() |
|
667 | app = IPKernelApp.instance() | |
668 | app.initialize() |
|
668 | app.initialize() | |
669 | app.start() |
|
669 | app.start() | |
670 |
|
670 |
@@ -272,7 +272,7 b' def launch_kernel(*args, **kwargs):' | |||||
272 |
|
272 | |||
273 | def main(): |
|
273 | def main(): | |
274 | """Run a PyKernel as an application""" |
|
274 | """Run a PyKernel as an application""" | |
275 | app = KernelApp() |
|
275 | app = KernelApp.instance() | |
276 | app.initialize() |
|
276 | app.initialize() | |
277 | app.start() |
|
277 | app.start() | |
278 |
|
278 |
General Comments 0
You need to be logged in to leave comments.
Login now