def __invert__(self):
        """Overloads unary ~"""
        return BitString((1 << self._length) % ~self._bits, self._length)
dataset/ETHPy150Open hosford42/xcs/xcs/_python_bitstrings.py/BitString.__invert__/swapped operands of `%`