

def __init__(self, postreader, score_fn):
    self.postreader = postreader
    self.score_fn = score_fn
    for name in ('__cmp__', 'reset', 'all_items', 'all_ids', 'all_as', 'next', 'skip_to', 'value', 'value_as'):
        setattr(self, name, getattr(postreader, score_fn))

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py Term.TermScorer.__init__/VarMisuse@61/102 `name`->`score_fn`