environment/lib/python2.7/site-packages/IPython/zmq/ipkernel.py
def start(self):
        """register dispatchers for streams"""
        self.shell.exit_now = False
        if self.control_stream:
            self.control_stream.on_recv(self.dispatch_control, copy=False)

        def make_dispatcher(stream):
            def dispatcher(msg):
                return self.dispatch_shell(stream, msg)
            return dispatcher

        for s in self.shell_streams:
            s.on_recv(make_dispatcher(s), copy=False)
def start(self):
        """register dispatchers for streams"""
        self.shell.exit_now = False
        if self.control_stream:
            self.control_stream.on_recv(self.dispatch_control, copy=False)

        def make_dispatcher(stream):
            def dispatcher(msg):
                return self.dispatch_shell(stream, msg)
            return dispatcher

        for s in self.shell_streams:
            s.on_recv(make_dispatcher(s), copy=False)
def start ( self ) : self . shell . exit_now = False if self . control_stream : self . control_stream . on_recv ( self . dispatch_control , copy = False ) def make_dispatcher ( stream ) : def dispatcher ( msg ) : return self . dispatch_shell ( stream , msg ) return dispatcher for s in self . shell_streams : s . on_recv ( make_dispatcher ( s ) , copy = False )
register dispatchers for streams
register dispatchers for streams