'Delete the item at position i.'

def __delitem__(self, i):

    key = self._main._sequence[i]
    if isinstance(i, types.SliceType):
        for k in key:
            del self._main[k]
    else:
        del self._main[key]
