def __getstate__(self): return to_pickable(self._mpc_[0]), to_pickable(self._mpc_[1])
def __getstate__(self): return to_pickable(self._mpf_)
def __getstate__(self): return to_pickable(self._mpf_) def __setstate__(self, val): self._mpf_ = from_pickable(val)