code: def set_value(self, value):
          
          if not isinstance(value, str):
              raise TypeError("A value must be a string, got %s." % value)
          self.__value = value
docs: Set the value associated with the keyword