Пример #1
0
 def __getstate__(self):
     return to_pickable(self._mpc_[0]), to_pickable(self._mpc_[1])
Пример #2
0
 def __getstate__(self):
     return to_pickable(self._mpc_[0]), to_pickable(self._mpc_[1])
Пример #3
0
 def __getstate__(self):
     return to_pickable(self._mpf_)
Пример #4
0
 def __getstate__(self): return to_pickable(self._mpf_)
 def __setstate__(self, val): self._mpf_ = from_pickable(val)