code: def stringify_param(self, force=None):
          
          param = self.param
          if isinstance(param, strings):
              result = param if self.quote_str is None else self.quote_str.format(param)
          else:
              candidate = str(param)
              try:
                  resurrected = literal_eval(candidate)
                  # Note: This will miss string-representable custom objects.
                  # However, the only alternative I can currently think of is using eval() which is inherently dangerous.
              except (SyntaxError, ValueError):
                  result = None
              else:
                  result = candidate if resurrected == param else None
  
          if result:
              result = ':' if self.param_repr_format is None else self.param_repr_format.format(result)
  
          return result
docs: Convert param to a string. Return None if there is no string representation.
          This is called by get_param_repr()
          :param force: Bends the meaning of "no string representation".
                        If None:
                          Will strictly return Python-parsable expressions. The result those yield will compare
                          equal to the objects in question.
                        If 'yes':
                          Will return '(unrepresentable)' instead of None if there is no string representation