def __delitem__(self, txn_key):
assert type(txn_key) == tuple and len(txn_key) == <NUM_LIT:2><EOL>txn, key = txn_key<EOL>_key = struct.pack('<STR_LIT>', self._slot) + self._serialize_key(key)<EOL>if self._indexes:<EOL><INDENT>value = self.__getitem__(txn_key)<EOL>if value:<EOL><INDENT>for index in self._indexes.values():<EOL><INDENT>_idx_key = struct.pack('<STR_LIT>', index.pmap._slot) + index.pmap._serialize_key(index.fkey(value))<EOL>txn.delete(_idx_key)<EOL><DEDENT><DEDENT><DEDENT>txn.delete(_key)<EOL>
:param txn_key:
:return: