Example #1
0
 def __getstate__(self):
     state = self.__dict__.copy()
     state['value'] = Pickler.dump(self.value)
     return state
Example #2
0
 def __getstate__(self):
     state = self.__dict__.copy()
     state['text'] = Pickler.dump(self.text)
     return state
Example #3
0
 def __getstate__(self):
     state = self.__dict__.copy()
     state['value'] = Pickler.dump(self.value)
     return state