environment/lib/python2.7/site-packages/IPython/core/interactiveshell.py
def register_post_execute(self, func):
        """Register a function for calling after code execution.
        """
        if not callable(func):
            raise ValueError('argument %s must be callable' % func)
        self._post_execute[func] = True
def register_post_execute(self, func):
        if not callable(func):
            raise ValueError('argument %s must be callable' % func)
        self._post_execute[func] = True
def register_post_execute ( self , func ) : if not callable ( func ) : raise ValueError ( 'argument %s must be callable' % func ) self . _post_execute [ func ] = True
Register a function for calling after code execution.
Register a function for calling after code execution .