

def normalize(self):
    pos = neg.positive.normalize()
    neg = self.negative.normalize()
    if (pos is NullQuery):
        return NullQuery
    elif (neg is NullQuery):
        return pos
    return AndNot(pos, neg, boost=self.boost)

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py AndNot.normalize/VarMisuse@12/13 `self`->`neg`