def __delitem__(self, name):
    'Delete an zEntry by name\n\n        @param name: name of the zEntry to delete\n        @type name: str\n        @raise KeyError: if there is no attribute named L{name} associated\n                         with this zVariable\n        @raise CDFError: other errors in CDF library\n        @note: If this is the only remaining entry, the Attribute will be\n               deleted.\n        '
    attrib = super(zAttrList, self).__getitem__(name)
    zvar_num = self._zvar._num()
    if (not attrib.has_entry(zvar_num)):
        raise KeyError(((str(name) + ': no such attribute for variable ') + str(self._zvar._name)))
    del attrib[zvar_num]
    if (len(attrib) == 0):
        attrib._delete()
Delete an zEntry by name

@param name: name of the zEntry to delete
@type name: str
@raise KeyError: if there is no attribute named L{name} associated
                 with this zVariable
@raise CDFError: other errors in CDF library
@note: If this is the only remaining entry, the Attribute will be
       deleted.
def __delitem__(self, name):
    'Delete an zEntry by name\n\n        @param name: name of the zEntry to delete\n        @type name: str\n        @raise KeyError: if there is no attribute named L{name} associated\n                         with this zVariable\n        @raise CDFError: other errors in CDF library\n        @note: If this is the only remaining entry, the Attribute will be\n               deleted.\n        '
    attrib = super(zAttrList, self).__getitem__(name)
    zvar_num = self._zvar._num()
    if (not attrib.has_entry(zvar_num)):
        raise KeyError(((str(name) + ': no such attribute for variable ') + str(self._zvar._name)))
    del attrib[zvar_num]
    if (len(attrib) == 0):
        attrib._delete()