Lines Matching full:join

131         return '%s(%s)' % (type_name, ', '.join(arg_strings))
216 join = self.formatter._join_parts
217 item_help = join([func(*args) for func, args in self.items])
232 # join the section-initial newline, the heading and the help
233 return join(['\n', heading, item_help, '\n'])
293 return ''.join([part
325 usage = ' '.join([s for s in [prog, action_usage] if s])
341 assert ' '.join(opt_parts) == opt_usage
342 assert ' '.join(pos_parts) == pos_usage
354 lines.append(indent + ' '.join(line))
360 lines.append(indent + ' '.join(line))
387 # join lines into usage
388 usage = '\n'.join(lines)
492 # join all the action items with spaces
493 text = ' '.join([item for item in parts if item is not None])
583 return ', '.join(parts)
590 result = '{%s}' % ','.join(choice_strs)
626 result = ' '.join(formats) % get_metavar(action.nargs)
638 choices_str = ', '.join([str(c) for c in params['choices']])
684 return ''.join(indent + line for line in text.splitlines(keepends=True))
750 return '/'.join(argument.option_strings)
756 return '{' + ','.join(argument.choices) + '}'
921 return ' | '.join(self.option_strings)
1156 metavar += ' (%s)' % ', '.join(aliases)
1230 'choices': ', '.join(self._name_parser_map)}
1306 args_str = ', '.join([repr(arg) for arg in args if arg != -1] +
1625 conflict_string = ', '.join([option_string
1872 self.error(msg % ' '.join(argv))
1953 # join the pieces together to form the pattern
1954 arg_strings_pattern = ''.join(arg_string_pattern_parts)
2143 ', '.join(required_actions))
2158 self.error(msg % ' '.join(names))
2219 pattern = ''.join([self._get_nargs_pattern(action)
2260 options = ', '.join([option_string
2367 nargs_pattern = '(-*%s-*)' % '-*'.join('A' * nargs)
2385 self.error(msg % ' '.join(argv))
2551 'choices': ', '.join(map(repr, action.choices))}