(self, name, index)
return memoryview(lst)[bigindex*bytesize:(bigindex+1)*bytesize]
Return a memoryview to an array element.
Return a memoryview to an array element.
Return a memoryview to an array element .
def view_buffer(self, name, index):
        """Return a memoryview to an array element."""
        dimensions, lst = self.check_dim(name, index)
        bigindex = self.index(index, dimensions)
        bytesize = values.size_bytes(name)
        return memoryview(lst)[bigindex*bytesize:(bigindex+1)*bytesize]
def view_buffer ( self , name , index ) : dimensions , lst = self . check_dim ( name , index ) bigindex = self . index ( index , dimensions ) bytesize = values . size_bytes ( name ) return memoryview ( lst ) [ bigindex * bytesize : ( bigindex + 1 ) * bytesize ]