Unsubscribe a hook from an event

def unsubscribe(self, event, hook):
        """ Unsubscribe a hook from an event """
        if hook in self._hooks[event]:
            self._hooks[event].remove(hook)