From de4b164e0f8b15bed29e2cd4760c477b655b4387 2013-10-23 02:43:57 From: MinRK Date: 2013-10-23 02:43:57 Subject: [PATCH] s/init_widgets/init_comms --- diff --git a/IPython/core/interactiveshell.py b/IPython/core/interactiveshell.py index 34ca8a0..095da68 100644 --- a/IPython/core/interactiveshell.py +++ b/IPython/core/interactiveshell.py @@ -507,7 +507,7 @@ class InteractiveShell(SingletonConfigurable): self.init_pdb() self.init_extension_manager() self.init_payload() - self.init_widgets() + self.init_comms() self.hooks.late_startup_hook() atexit.register(self.atexit_operations) @@ -2323,7 +2323,7 @@ class InteractiveShell(SingletonConfigurable): # Things related to widgets #------------------------------------------------------------------------- - def init_widgets(self): + def init_comms(self): # not implemented in the base class pass diff --git a/IPython/kernel/zmq/zmqshell.py b/IPython/kernel/zmq/zmqshell.py index 84f37cc..8286a74 100644 --- a/IPython/kernel/zmq/zmqshell.py +++ b/IPython/kernel/zmq/zmqshell.py @@ -610,7 +610,7 @@ class ZMQInteractiveShell(InteractiveShell): self.register_magics(KernelMagics) self.magics_manager.register_alias('ed', 'edit') - def init_widgets(self): + def init_comms(self): self.comm_manager = CommManager(shell=self, parent=self) self.configurables.append(self.comm_manager)