'Unregisters a handler'

def unhandle(self, handler):

    (handler_, memoize, timeout) = self._extract(handler)
    key = self.hash(handler_)
    if (not (key in self.handlers)):
        raise ValueError(('Handler    "%s"    was    not    found' % str(handler_)))
    del self.handlers[key]
    return self
