Lines Matching refs:tup
524 tup = self._current_indent, '', action_header
525 action_header = '%*s%s\n' % tup
529 tup = self._current_indent, '', action_width, action_header
530 action_header = '%*s%-*s ' % tup
535 tup = self._current_indent, '', action_header
536 action_header = '%*s%s\n' % tup
1112 tup = parser_name, ', '.join(self._name_parser_map)
1113 msg = _('unknown parser %r (choices: %s)' % tup)
1410 tup = option_string, self.prefix_chars
1411 raise ValueError(msg % tup)
2070 tup = arg_string, options
2071 self.error(_('ambiguous option: %s could match %s') % tup)
2109 tup = action, option_string, explicit_arg
2110 result.append(tup)
2124 tup = action, option_string, short_explicit_arg
2125 result.append(tup)
2128 tup = action, option_string, explicit_arg
2129 result.append(tup)
2259 tup = value, ', '.join(map(repr, action.choices))
2260 msg = _('invalid choice: %r (choose from %s)') % tup