code: def lset(self, key, index, value):
          
          if not isinstance(index, int):
              raise TypeError("index argument must be int")
          return self.execute(b'LSET', key, index, value)
docs: Sets the list element at index to value.
  
          :raises TypeError: if index is not int