(self)
Stop the timer if it hasn't finished yet
Stop the timer if it hasn't finished yet
Stop the timer if it hasn t finished yet
def cancel(self):
        """Stop the timer if it hasn't finished yet"""
        self.finished.set()
def cancel ( self ) : self . finished . set ( )