• Home
  • Raw
  • Download

Lines Matching refs:arg_strings

118         arg_strings = []
121 arg_strings.append(repr(arg))
124 arg_strings.append('%s=%r' % (name, value))
128 arg_strings.append('**%s' % repr(star_args))
129 return '%s(%s)' % (type_name, ', '.join(arg_strings))
1185 arg_strings = values[1:]
1207 subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
1211 if arg_strings:
1213 getattr(namespace, _UNRECOGNIZED_ARGS_ATTR).extend(arg_strings)
1863 def _parse_known_args(self, arg_strings, namespace): argument
1866 arg_strings = self._read_args_from_files(arg_strings)
1883 arg_strings_iter = iter(arg_strings)
1945 extras.append(arg_strings[start_index])
1992 args = arg_strings[start:stop]
2017 args = arg_strings[start_index: start_index + arg_count]
2055 strings = arg_strings[start_index:next_option_string_index]
2066 extras.extend(arg_strings[stop_index:])
2109 def _read_args_from_files(self, arg_strings): argument
2112 for arg_string in arg_strings:
2122 arg_strings = []
2125 arg_strings.append(arg)
2126 arg_strings = self._read_args_from_files(arg_strings)
2127 new_arg_strings.extend(arg_strings)
2412 def _get_values(self, action, arg_strings): argument
2416 arg_strings.remove('--')
2421 if not arg_strings and action.nargs == OPTIONAL:
2432 elif (not arg_strings and action.nargs == ZERO_OR_MORE and
2437 value = arg_strings
2441 elif len(arg_strings) == 1 and action.nargs in [None, OPTIONAL]:
2442 arg_string, = arg_strings
2448 value = [self._get_value(action, v) for v in arg_strings]
2452 value = [self._get_value(action, v) for v in arg_strings]
2461 value = [self._get_value(action, v) for v in arg_strings]