(self)
Cancel scheduled events.
Cancel scheduled events.
Cancel scheduled events .
def __del__(self):
        "Cancel scheduled events."
        if self.t1 is not None:
            try:
                self.text.after_cancel(self.t1)
            except TclError:  # pragma: no cover
                pass
            self.t1 = None
def __del__ ( self ) : if self . t1 is not None : try : self . text . after_cancel ( self . t1 ) except TclError : # pragma: no cover pass self . t1 = None