def __delitem__(self, key):
        # not efficient -- for convenience only
        try:
            index = self._index.pop(self._serialize_key(key))
            self._index = dict((k, i if i < index else i - 1) for k, i in self._index.items())
            self._items.pop(index)
        except __HOLE__:
            raise KeyError(str(key))
dataset/ETHPy150Open datastax/python-driver/cassandra/util.py/OrderedMap.__delitem__