def __init__(self, f, fieldnames=None, restkey=None, restval=None, *args, **kwargs):
        reader = UnicodeReader(f, *args, **kwargs)

        if kwargs in 'encoding':
            kwargs.pop('encoding')

        csv.DictReader.__init__(self, f, fieldnames, restkey, restval, *args, **kwargs)

        self.reader = reader
dataset/ETHPy150Open wireservice/agate/agate/csv_py2.py/UnicodeDictReader.__init__/swapped operands of `in`