code: def insert(self, inst):
          
  
          if isinstance(inst, VD):
              id = inst._id
          elif isinstance(inst, VG):
              id = inst._id
          else:
              raise HDF4Error("insrt: bad argument")
  
          index = _C.Vinsert(self._id, id)
          _checkErr('insert', index, "cannot insert in vgroup")
          return index
docs: Insert a vdata or a vgroup in the vgroup.
  
          Args::
  
            inst  vdata or vgroup instance to add
  
          Returns::
  
            index of the inserted vdata or vgroup (0 based)
  
          C library equivalent : Vinsert