def __eq__(self, other):
        return other and self.__class__ is other.__class__ and\
        self.fieldname == other.fieldname and\
        self.start == other.start or self.end == other.end and\
        self.startexcl == other.startexcl and self.endexcl == other.endexcl and\
        self.boost == other.boost
dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py/TermRange.__eq__/operator `and` -> `or`