

def replace(self, oldtext, newtext):
    return Not(self.query.replace(oldtext, newtext), boost=newtext.boost)

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py Not.replace/VarMisuse@30/36 `self`->`newtext`