def mod(self, e):
        if e.getLength() - self.getLength() < 0:
            return self
        ratio = QRMath.glog(self.get(0) ) - QRMath.glog(e.get(0) )
        num = self.num[:]
        for i in range(e.getLength() ):
            num[i] ^= QRMath.gexp(QRMath.glog(e.get(i) ) + ratio)
        return Polynomial(num).mod(e)
dataset/ETHPy150Open mozillazg/ShortURL/shorturl/libs/qrcode.py/Polynomial.mod/swapped operands of `-`