code: def remove_all_for(self, key):
          
          if not isinstance(key, _string_type):
              raise TypeError("Key need to be a string.")
  
          for idx in _range(self.__kcount[key]):
              super(VDFDict, self).__delitem__((idx, key))
  
          self.__omap = list(filter(lambda x: x[1] != key, self.__omap))
  
          del self.__kcount[key]
docs: Removes all items with the given key