parameters: (self, var, val)
docstring: Appends a value to the specified config key::
  
  			def build(bld):
  				bld.env.append_value('CFLAGS', ['-O2'])
  
  		The value must be a list or a tuple
docstring_summary: Appends a value to the specified config key::
docstring_tokens: Appends a value to the specified config key ::
function: def append_value(self, var, val):
  		"""
  		Appends a value to the specified config key::
  
  			def build(bld):
  				bld.env.append_value('CFLAGS', ['-O2'])
  
  		The value must be a list or a tuple
  		"""
  		if isinstance(val, str): # if there were string everywhere we could optimize this
  			val = [val]
  		current_value = self._get_list_value_for_modification(var)
  		current_value.extend(val)
function_tokens: def append_value ( self , var , val ) : if isinstance ( val , str ) : # if there were string everywhere we could optimize this val = [ val ] current_value = self . _get_list_value_for_modification ( var ) current_value . extend ( val )