code: def delete(self, *keys):
          
          key_counter = 0
          for key in map(self._encode, keys):
              if key in self.redis:
                  del self.redis[key]
                  key_counter += 1
              if key in self.timeouts:
                  del self.timeouts[key]
          return key_counter
docs: Emulate delete.