def __eq__(self, other):
        return other and self.__class__ is other.__class__ and\
        self.positive == other.positive and self.negative == other.negative and\
        self.boost == other.boost
dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py/AndNot.__eq__/original