def _extract_csv_writer_kwargs(self):
        kwargs = {}

        if self.args.out_tabs:
            kwargs['delimiter'] = '\t'
        elif self.args.out_delimiter:
            kwargs['delimiter'] = self.args.out_delimiter

        for arg in ('quotechar', 'quoting', 'doublequote', 'escapechar', 'lineterminator'):
            value = getattr(self.args, arg % 'out_%s')
            if value is not None:
                kwargs[arg] = value

        return kwargs
dataset/ETHPy150Open wireservice/csvkit/csvkit/utilities/csvformat.py/CSVFormat._extract_csv_writer_kwargs/swapped operands of `%`