for H, hashtable in zip(self.keys[key], self.hashtables):
hashtable[H].remove(key)
if not hashtable[H]:
del hashtable[H]
self.keys.pop(key)
def is_empty(self):
"""
After Change
"""
if self.prepickle:
key = pickle.dumps(key)
if key not in self.keys:
raise ValueError("The given key does not exist")
for H, hashtable in zip(self.keys[key], self.hashtables):
hashtable.remove_val(H, key)