Lines Matching refs:arg_strings

123         arg_strings = []
125 arg_strings.append(repr(arg))
127 arg_strings.append('%s=%r' % (name, value))
128 return '%s(%s)' % (type_name, ', '.join(arg_strings))
1079 arg_strings = values[1:]
1100 subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
1104 if arg_strings:
1106 getattr(namespace, _UNRECOGNIZED_ARGS_ATTR).extend(arg_strings)
1746 def _parse_known_args(self, arg_strings, namespace): argument
1749 arg_strings = self._read_args_from_files(arg_strings)
1766 arg_strings_iter = iter(arg_strings)
1828 extras.append(arg_strings[start_index])
1875 args = arg_strings[start:stop]
1900 args = arg_strings[start_index: start_index + arg_count]
1938 strings = arg_strings[start_index:next_option_string_index]
1949 extras.extend(arg_strings[stop_index:])
1992 def _read_args_from_files(self, arg_strings): argument
1995 for arg_string in arg_strings:
2006 arg_strings = []
2009 arg_strings.append(arg)
2010 arg_strings = self._read_args_from_files(arg_strings)
2011 new_arg_strings.extend(arg_strings)
2204 def _get_values(self, action, arg_strings): argument
2208 arg_strings.remove('--')
2213 if not arg_strings and action.nargs == OPTIONAL:
2224 elif (not arg_strings and action.nargs == ZERO_OR_MORE and
2229 value = arg_strings
2233 elif len(arg_strings) == 1 and action.nargs in [None, OPTIONAL]:
2234 arg_string, = arg_strings
2240 value = [self._get_value(action, v) for v in arg_strings]
2244 value = [self._get_value(action, v) for v in arg_strings]
2249 value = [self._get_value(action, v) for v in arg_strings]