code: def info(self):
          
          status, dim_name, dim_size, data_type, n_attrs = \
                  _C.SDdiminfo(self._id)
          _checkErr('info', status, 'cannot execute')
          return dim_name, dim_size, data_type, n_attrs
docs: Return info about the dimension instance.
  
          Args::
  
            no argument
  
          Returns::
  
            4-element tuple holding:
  
            - dimension name; 'fakeDimx' is returned if the dimension
              has not been named yet, where 'x' is the dimension
              index number
            - dimension length; 0 is returned if the dimension is unlimited;
              call the SDim.length() or SDS.info() methods to obtain the
              current dimension length
            - scale data type (one of the SDC.xxx constants); 0 is
              returned if no scale has been set on the dimension
            - number of attributes attached to the dimension
  
          C library equivalent : SDdiminfo