parameters: (self, key)
return_statement: return value
docstring: Return a list value for further modification.
  
  		The list may be modified inplace and there is no need to do this afterwards::
  
  			self.table[var] = value
docstring_summary: Return a list value for further modification.
docstring_tokens: Return a list value for further modification .
function: def _get_list_value_for_modification(self, key):
  		"""
  		Return a list value for further modification.
  
  		The list may be modified inplace and there is no need to do this afterwards::
  
  			self.table[var] = value
  		"""
  		try:
  			value = self.table[key]
  		except KeyError:
  			try: value = self.parent[key]
  			except AttributeError: value = []
  			if isinstance(value, list):
  				value = value[:]
  			else:
  				value = [value]
  		else:
  			if not isinstance(value, list):
  				value = [value]
  		self.table[key] = value
  		return value
function_tokens: def _get_list_value_for_modification ( self , key ) : try : value = self . table [ key ] except KeyError : try : value = self . parent [ key ] except AttributeError : value = [ ] if isinstance ( value , list ) : value = value [ : ] else : value = [ value ] else : if not isinstance ( value , list ) : value = [ value ] self . table [ key ] = value return value