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