def __delitem__(self, key):
    "Delete a slice of Entries.\n\n        @param key: index or range of Entry numbers to delete\n        @type key: slice or int\n        @note: Attributes do not 'grow' or 'shrink' as entries are added\n               or removed. Indexes of entries never change and there is no\n               way to 'insert'.\n        "
    if (key is Ellipsis):
        key = slice(None, None, None)
    if (not hasattr(key, 'indices')):
        idx = (key, (key + 1), 1)
    else:
        idx = key.indices((self.max_idx() + 1))
    for i in range(*idx):
        self._call(const.SELECT_, self.ENTRY_, ctypes.c_long(i), const.DELETE_, self.ENTRY_)
Delete a slice of Entries.

@param key: index or range of Entry numbers to delete
@type key: slice or int
@note: Attributes do not 'grow' or 'shrink' as entries are added
       or removed. Indexes of entries never change and there is no
       way to 'insert'.
def __delitem__(self, key):
    "Delete a slice of Entries.\n\n        @param key: index or range of Entry numbers to delete\n        @type key: slice or int\n        @note: Attributes do not 'grow' or 'shrink' as entries are added\n               or removed. Indexes of entries never change and there is no\n               way to 'insert'.\n        "
    if (key is Ellipsis):
        key = slice(None, None, None)
    if (not hasattr(key, 'indices')):
        idx = (key, (key + 1), 1)
    else:
        idx = key.indices((self.max_idx() + 1))
    for i in range(*idx):
        self._call(const.SELECT_, self.ENTRY_, ctypes.c_long(i), const.DELETE_, self.ENTRY_)