def deregister(self, event, fn):
if event in self._handler_dict and fn in self._handler_dict[event]:<EOL><INDENT>self._handler_dict[event].remove(fn)<EOL><DEDENT>
Deregister the handler function from the given event.