Show More
@@ -320,6 +320,7 b' class TerminalIPythonApp(BaseIPythonApplication, InteractiveShellApp):' | |||||
320 | self.shell = TerminalInteractiveShell.instance(config=self.config, |
|
320 | self.shell = TerminalInteractiveShell.instance(config=self.config, | |
321 | display_banner=False, profile_dir=self.profile_dir, |
|
321 | display_banner=False, profile_dir=self.profile_dir, | |
322 | ipython_dir=self.ipython_dir) |
|
322 | ipython_dir=self.ipython_dir) | |
|
323 | self.shell.configurables.append(self) | |||
323 |
|
324 | |||
324 | def init_banner(self): |
|
325 | def init_banner(self): | |
325 | """optionally display the banner""" |
|
326 | """optionally display the banner""" |
@@ -780,6 +780,7 b' class IPKernelApp(KernelApp, InteractiveShellApp):' | |||||
780 |
|
780 | |||
781 | def init_shell(self): |
|
781 | def init_shell(self): | |
782 | self.shell = self.kernel.shell |
|
782 | self.shell = self.kernel.shell | |
|
783 | self.shell.configurables.append(self) | |||
783 |
|
784 | |||
784 |
|
785 | |||
785 | #----------------------------------------------------------------------------- |
|
786 | #----------------------------------------------------------------------------- |
General Comments 0
You need to be logged in to leave comments.
Login now