(self, key, value)
Modify the value of an existed item.

        Parameters
        ----------
        key: object
            Key in the State, must a existed key

        value: object,
            Value to cover the original value
Modify the value of an existed item.
Modify the value of an existed item .
def set_value(self, key, value):
        """Modify the value of an existed item.

        Parameters
        ----------
        key: object
            Key in the State, must a existed key

        value: object,
            Value to cover the original value
        """
        if key not in self._save_seq.keys():
            raise KeyError('key must be an existed one in State')
        self._save_seq[key] = copy.deepcopy(value)
def set_value ( self , key , value ) : if key not in self . _save_seq . keys ( ) : raise KeyError ( 'key must be an existed one in State' ) self . _save_seq [ key ] = copy . deepcopy ( value )