code: def _massage_write_value(cls, value):
          
          if not isinstance(value, numbers.Number):
              if value == "true":
                  value = True
              elif value == "false":
                  value = False
              elif value[0] == '"' and value[-1] == '"':
                  value = value[1:-1]
              else:
                  try:
                      value = float(value)
                  except ValueError:
                      pass
          return value
docs: Convert string values from command-line arguments into first-order
          Python boolean and float objects, if applicable.