(self, __name, *args, **kwargs)
return [hook(*args, **kwargs) for hook in self._hooks[__name][:]]
Trigger a hook and return a list of results.
Trigger a hook and return a list of results.
Trigger a hook and return a list of results .
def trigger_hook(self, __name, *args, **kwargs):
        ''' Trigger a hook and return a list of results. '''
        return [hook(*args, **kwargs) for hook in self._hooks[__name][:]]
def trigger_hook ( self , __name , * args , * * kwargs ) : return [ hook ( * args , * * kwargs ) for hook in self . _hooks [ __name ] [ : ] ]