code: def _to_s(val, sep=", "):
      
      if anyconfig.utils.is_iterable(val):
          return sep.join(str(x) for x in val)
  
      return str(val)
docs: Convert any to string.
  
      :param val: An object
      :param sep: separator between values
  
      >>> _to_s([1, 2, 3])
      '1, 2, 3'
      >>> _to_s("aaa")
      'aaa'