

def _all_terms(self, termset, phrases=True):
    if phrases:
        fieldname = termset.fieldname
        for word in self.words:
            termset.add((fieldname, word))

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py Phrase._all_terms/VarMisuse@23/30 `self`->`termset`