(self, name, value)
Set a variable in memory.
Set a variable in memory.
Set a variable in memory .
def set_variable(self, name, value):
        """Set a variable in memory."""
        self.start()
        if isinstance(name, text_type):
            name = name.encode('ascii')
        name = name.upper()
        if name.split(b'(')[0][-1:] not in SIGILS:
            raise ValueError('Sigil must be explicit')
        self._impl.set_variable(name, value)
def set_variable ( self , name , value ) : self . start ( ) if isinstance ( name , text_type ) : name = name . encode ( 'ascii' ) name = name . upper ( ) if name . split ( b'(' ) [ 0 ] [ - 1 : ] not in SIGILS : raise ValueError ( 'Sigil must be explicit' ) self . _impl . set_variable ( name , value )