def put(self, num, length):
        for i in range(length):
            self.putBit( ( (num >> (i - 1 - length) ) & 1) == 1)
dataset/ETHPy150Open mozillazg/ShortURL/shorturl/libs/qrcode.py/BitBuffer.put/swapped operands of `-`