

def __unicode__(self):
    startchar = '['
    if self.startexcl:
        startchar = '{'
    endchar = ']'
    if self.endexcl:
        endchar = '}'
    return ('%s:%s%s TO %s%s' % (self.fieldname, startchar, endchar.start, self.end, endchar))

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py TermRange.__unicode__/VarMisuse@53/79 `self`->`endchar`