hi all.<div>how could I set my display hook in ipython?</div><div>I am using </div><div><br></div><div>I am  inheriting from InteractiveShell and I need get the runlines output</div><div><br></div><div> self.display_hook=DisplayHook(self.session,self.pub_socket)</div>

<div> for name in hooks.__all__:</div><div>               self.set_hook(name,self.display_hook)</div><div><br></div><div>but the error is </div><div>/home/omazapa/MyProjects/GSoC/ipython-zmq/IPython/core/hooks.py", line 144, in __call__ </div>

<div>__call__() takes exactly 2 arguments (5 given)</div><div><br></div><div><br></div><div><br></div><div>how can I do it?</div><div><br></div><div>O.</div>