From 6efa8e3dcefe609e9f6a4dd9e3dcfead6f84f87d 2014-12-03 20:31:26 From: Thomas Kluyver Date: 2014-12-03 20:31:26 Subject: [PATCH] Remove some big unhelpful comment blocks --- diff --git a/IPython/qt/kernel_mixins.py b/IPython/qt/kernel_mixins.py index dd63baa..23d432b 100644 --- a/IPython/qt/kernel_mixins.py +++ b/IPython/qt/kernel_mixins.py @@ -17,10 +17,6 @@ class ChannelQObject(SuperQObject): # Emitted when the channel is stopped. stopped = QtCore.Signal() - #--------------------------------------------------------------------------- - # Channel interface - #--------------------------------------------------------------------------- - def start(self): """ Reimplemented to emit signal. """ @@ -61,10 +57,6 @@ class QtShellChannelMixin(ChannelQObject): history_reply = QtCore.Signal(object) kernel_info_reply = QtCore.Signal(object) - #--------------------------------------------------------------------------- - # 'ShellChannel' interface - #--------------------------------------------------------------------------- - def call_handlers(self, msg): """ Reimplemented to emit signals instead of making callbacks. """ @@ -108,10 +100,6 @@ class QtIOPubChannelMixin(ChannelQObject): # Emitted when a shutdown is noticed. shutdown_reply_received = QtCore.Signal(object) - #--------------------------------------------------------------------------- - # 'IOPubChannel' interface - #--------------------------------------------------------------------------- - def call_handlers(self, msg): """ Reimplemented to emit signals instead of making callbacks. """ @@ -138,10 +126,6 @@ class QtStdInChannelMixin(ChannelQObject): # Emitted when an input request is received. input_requested = QtCore.Signal(object) - #--------------------------------------------------------------------------- - # 'StdInChannel' interface - #--------------------------------------------------------------------------- - def call_handlers(self, msg): """ Reimplemented to emit signals instead of making callbacks. """ @@ -159,14 +143,9 @@ class QtHBChannelMixin(ChannelQObject): # Emitted when the kernel has died. kernel_died = QtCore.Signal(object) - #--------------------------------------------------------------------------- - # 'HBChannel' interface - #--------------------------------------------------------------------------- - def call_handlers(self, since_last_heartbeat): """ Reimplemented to emit signals instead of making callbacks. """ - # Emit the generic signal. self.kernel_died.emit(since_last_heartbeat)