environment/lib/python2.7/site-packages/IPython/core/hooks.py
def add(self, func, priority=0):
        """ Add a func to the cmd chain with given priority """
        self.chain.append((priority, func))
        self.chain.sort(key=lambda x: x[0])
def add(self, func, priority=0):
        self.chain.append((priority, func))
        self.chain.sort(key=lambda x: x[0])
def add ( self , func , priority = 0 ) : self . chain . append ( ( priority , func ) ) self . chain . sort ( key = lambda x : x [ 0 ] )
Add a func to the cmd chain with given priority
Add a func to the cmd chain with given priority