code: def setrange(self, key, offset, value):
          
          if not isinstance(offset, int):
              raise TypeError("offset argument must be int")
          if offset < 0:
              raise ValueError("offset must be greater equal 0")
          return self.execute(b'SETRANGE', key, offset, value)
docs: Overwrite part of a string at key starting at the specified offset.
  
          :raises TypeError: if offset is not int
          :raises ValueError: if offset less than 0