

def normalize(self):
    (required, optional) = (q.normalize() for q in self.subqueries)
    if (required is NullQuery):
        return NullQuery
    if (self is NullQuery):
        return required
    return AndMaybe(required, optional, boost=self.boost)

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py AndMaybe.normalize/VarMisuse@45/51 `optional`->`self`