(self)
Call when you are done handling a specific sheet to free any cached
        cairo surface.
Call when you are done handling a specific sheet to free any cached
        cairo surface.
Call when you are done handling a specific sheet to free any cached cairo surface .
def clean(self):
        """Call when you are done handling a specific sheet to free any cached
        cairo surface."""
        if hasattr(self, 'surface'):
            del self.surface
        if hasattr(self, 'surface_rgb'):
            del self.surface_rgb
def clean ( self ) : if hasattr ( self , 'surface' ) : del self . surface if hasattr ( self , 'surface_rgb' ) : del self . surface_rgb