def __repr__(self):
        r = "%s(%r, %r" % (self.__class__.__name__, self.fieldname, self.text)
        if self.boost != 1:
            r += ", boost=%s" % self.boost
        r += ")"
        return r
dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py/Variations.__repr__/original