def _ListTypeFormatString(value):
  """Returns the appropriate format string for formatting a list object."""

  if isinstance(value, tuple):
    return '({0})'
  if isinstance(value, set):
    return '{{{0}}}'
  return '[{0}]'