''

def _stringify_kwopt_list(self, flag, val):

    if isinstance(val, string_types):
        return self._stringify_kwopt_string(flag, val)
    return '    '.join(['{flag}    {value}'.format(flag=flag, value=shlex_quote(str(v))) for v in val])
