

def __eq__(self, other):
    return (other and (self.__class__ is other.__class__) and (self.fieldname == other.fieldname) and (self.text == other.text) and (self.boost == other.boost))

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py Prefix.__eq__/original