def _getBestMaskPattern(self):
        minLostPoint = 0
        pattern = 0
        for i in range(8):
            self._make(True, i)
            lostPoint = QRUtil.getLostPoint(self)
            if i == 0 or lostPoint > minLostPoint:
                minLostPoint = lostPoint
                pattern = i
        return pattern
dataset/ETHPy150Open mozillazg/ShortURL/shorturl/libs/qrcode.py/QRCode._getBestMaskPattern/swapped operands of `>`