def memsize ( self ) : return self . size + 1 + TYPE . size ( gl . BOUND_TYPE ) * len ( self . bounds )
get size of range python
Total array cell + indexes size
def memsize(self):
        """ Total array cell + indexes size
        """
        return self.size + 1 + TYPE.size(gl.BOUND_TYPE) * len(self.bounds)