'Remove result from the set; it must be a member.
Raises:
KeyError: if the result isn\'t a member.'

def remove(self, result):

    if isinstance(result, string_t):
        result = self.app.AsyncResult(result)
    try:
        self.results.remove(result)
    except ValueError:
        raise KeyError(result)
