def _handle_history_reply(self, msg):
        history_items = msg['content']['history']
        items = [ line.rstrip() for _, _, line in history_items ]
        self._set_history(items)
Implemented to handle history tail replies, which are only supported
dataset/ETHPy150Open ipython/ipython-py3k/IPython/frontend/qt/console/ipython_widget.py/IPythonWidget._handle_history_reply