def reset ( self ) : self . prevframe = None self . wasmoving = False self . t0 = 0 self . ismoving = False
how to clear previous code in python
Reset analyzer state
def reset(self):
        """Reset analyzer state
        """
        self.prevframe = None
        self.wasmoving = False
        self.t0 = 0
        self.ismoving = False