def _n_dims(self):
    'Get number of dimensions for this variable\n\n        @return: the number of dimensions\n        @rtype: long\n        '
    n_dims = ctypes.c_long(0)
    self._call(const.GET_, const.zVAR_NUMDIMS_, ctypes.byref(n_dims))
    return n_dims.value
Get number of dimensions for this variable

@return: the number of dimensions
@rtype: long
def _n_dims(self):
    'Get number of dimensions for this variable\n\n        @return: the number of dimensions\n        @rtype: long\n        '
    n_dims = ctypes.c_long(0)
    self._call(const.GET_, const.zVAR_NUMDIMS_, ctypes.byref(n_dims))
    return n_dims.value