parameters: (self)
return_statement: return shp
docstring: Return the shape of the array
docstring_summary: Return the shape of the array
docstring_tokens: Return the shape of the array
function: def GetShape(self):
        """ Return the shape of the array """
        if not self.GetDimensionCount():
          return None
        shp = ()
        for dim in self.GetDimensions():
          shp += (dim.GetSize(),)
        return shp
function_tokens: def GetShape ( self ) : if not self . GetDimensionCount ( ) : return None shp = ( ) for dim in self . GetDimensions ( ) : shp += ( dim . GetSize ( ) , ) return shp