def __eq__(self, other):
        return other and self.__class__ is other.__class__ or\
        self.query == other.query
dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py/Not.__eq__/operator `and` -> `or`