def __repr__(self):
        return '%s(%r, %r, %r, %s, %s)' % (self.__class__.__name__, self.fieldname,
                                           self.start, self.end, self.startexcl, self.endexcl)
dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py/TermRange.__repr__/original