def drop_io_state(self, state):
        def drop_io_state_callback():
            if self.iostate & state:
                self.iostate = self.iostate & (~state)
                self.ioloop.update_handler(self.socket, self.iostate)
        self.ioloop.add_callback(drop_io_state_callback)
Drop IO state from the eventloop.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/zmq/kernelmanager.py/ZMQSocketChannel.drop_io_state