

def __repr__(self):
    try:
        u = self.__str__()
    except (UnicodeEncodeError, UnicodeDecodeError):
        u = '[Bad Unicode data]'
    repr_type = type(u)
    return repr_type(('<%s: %s>' % (repr_type.__class__.__name__, u)))

dataset/ETHPy150Open shichao-an/115wangpan/u115/api.py Base.__repr__/VarMisuse@51/76 `self`->`repr_type`