def __getstate__(self): state = self.__dict__.copy() state['value'] = Pickler.dump(self.value) return state
def __getstate__(self): state = self.__dict__.copy() state['text'] = Pickler.dump(self.text) return state
def __getstate__(self): state = self.__dict__.copy() state['value'] = Pickler.dump(self.value) return state