def __del__ (self): if not self.dont_destroy: if self._o != None: if _pyKyra._canvas_del (self._o): self._o = None KrImage.__del__ (self)