def forget(self):
    'Forget about (and possible remove the result of) all the tasks.'
    for result in self.results:
        result.forget()
Forget about (and possible remove the result of) all the tasks.
def forget(self):
    
    for result in self.results:
        result.forget()