Lines Matching refs:tup
501 tup = self._current_indent, '', action_header
502 action_header = '%*s%s\n' % tup
506 tup = self._current_indent, '', action_width, action_header
507 action_header = '%*s%-*s ' % tup
512 tup = self._current_indent, '', action_header
513 action_header = '%*s%s\n' % tup
1089 tup = parser_name, ', '.join(self._name_parser_map)
1090 msg = _('unknown parser %r (choices: %s)') % tup
1413 tup = option_string, self.prefix_chars
1414 raise ValueError(msg % tup)
2092 tup = arg_string, options
2093 self.error(_('ambiguous option: %s could match %s') % tup)
2131 tup = action, option_string, explicit_arg
2132 result.append(tup)
2146 tup = action, option_string, short_explicit_arg
2147 result.append(tup)
2150 tup = action, option_string, explicit_arg
2151 result.append(tup)
2284 tup = value, ', '.join(map(repr, action.choices))
2285 msg = _('invalid choice: %r (choose from %s)') % tup