Пример #1
0
 def __getstate__(self):
     d = Basic.__getstate__(self).copy()
     del d["_mpf_"]
     return mlib.to_pickable(self._mpf_), d
Пример #2
0
 def __getstate__(self):
     d = Basic.__getstate__(self).copy()
     del d["_mpf_"]
     return mlib.to_pickable(self._mpf_), d
Пример #3
0
 def __getnewargs__(self):
     return (mlib.to_pickable(self._mpf_),)
Пример #4
0
 def __getnewargs__(self):
     return (mlib.to_pickable(self._mpf_),)