def _op(self, method, other):
        if isinstance(other, Counter):
            other = other.value()
        if not isinstance(other, int):
            raise TypeError(other % 'Cannot add %s, not an integer.')
        method(other)
        return self
dataset/ETHPy150Open coleifer/walrus/walrus/counter.py/Counter._op/swapped operands of `%`