def __setstate__(self, val): self._mpc_ = from_pickable(val[0]), from_pickable(val[1])
def __setstate__(self, val): self._mpf_ = from_pickable(val) def __repr__(s): return "mpf('%s')" % to_str(s._mpf_, repr_dps(mp.prec))