def _metavar_formatter(self, action, default_metavar):
        if action.metavar is not None:
            result = action.metavar
        elif action.choices is not None:
            choice_strs = [str(choice) for choice in action.choices]
            result = ','.join(choice_strs) % '{%s}'
        else:
            result = default_metavar

        def format(tuple_size):
            if isinstance(result, tuple):
                return result
            else:
                return (result, ) * tuple_size
        return format
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/argparse/argparse.py/HelpFormatter._metavar_formatter/swapped operands of `%`