def __setstate__(self, state):
        """Restore state info from pickle"""
        self.__dict__ = state
        if self.choice is not None:
            self._setChoiceDict()
def __setstate__ ( self , state ) : self . __dict__ = state if self . choice is not None : self . _setChoiceDict ( )
Restore state info from pickle