parameters: (self, event, hook)
docstring: Deregister a previously registered hook.
          Returns True if the hook existed, False if not.
docstring_summary: Deregister a previously registered hook.
          Returns True if the hook existed, False if not.
docstring_tokens: Deregister a previously registered hook . Returns True if the hook existed False if not .
function: def deregister_hook(self, event, hook):
          """Deregister a previously registered hook.
          Returns True if the hook existed, False if not.
          """
  
          try:
              self.hooks[event].remove(hook)
              return True
          except ValueError:
              return False
function_tokens: def deregister_hook ( self , event , hook ) : try : self . hooks [ event ] . remove ( hook ) return True except ValueError : return False