parameters: (ctx, kw_dict, key, value, unique=True)
docstring: Context helper function to add a value keyword list entry
      
      :param ctx:     The context that this function is attached to
      :param kw_dict: The kw dict to update
      :param key:     The key in the kw dict to append to. The key must represent a list
      :param value:   The value to add. If its a list, then add the items in the list individually
      :param unique:  Option to add uniquely
docstring_summary: Context helper function to add a value keyword list entry
      
      :param ctx:     The context that this function is attached to
      :param kw_dict: The kw dict to update
      :param key:     The key in the kw dict to append to. The key must represent a list
      :param value:   The value to add. If its a list, then add the items in the list individually
      :param unique:  Option to add uniquely
docstring_tokens: Context helper function to add a value keyword list entry : param ctx : The context that this function is attached to : param kw_dict : The kw dict to update : param key : The key in the kw dict to append to . The key must represent a list : param value : The value to add . If its a list then add the items in the list individually : param unique : Option to add uniquely
function: def append_kw_value(ctx, kw_dict, key, value, unique=True):
      """
      Context helper function to add a value keyword list entry
      
      :param ctx:     The context that this function is attached to
      :param kw_dict: The kw dict to update
      :param key:     The key in the kw dict to append to. The key must represent a list
      :param value:   The value to add. If its a list, then add the items in the list individually
      :param unique:  Option to add uniquely
  
      """
      target_kw_value_list = kw_dict.setdefault(key, [])
      if not isinstance(target_kw_value_list, list):
          raise ValueError("Cannot append a kw value to a non-list kw entry '{}'".format(key))
      if unique:
          append_to_unique_list(target_kw_value_list, value)
      elif isinstance(value, list):
          target_kw_value_list += value
      else:
          target_kw_value_list.append(value)
function_tokens: def append_kw_value ( ctx , kw_dict , key , value , unique = True ) : target_kw_value_list = kw_dict . setdefault ( key , [ ] ) if not isinstance ( target_kw_value_list , list ) : raise ValueError ( "Cannot append a kw value to a non-list kw entry '{}'" . format ( key ) ) if unique : append_to_unique_list ( target_kw_value_list , value ) elif isinstance ( value , list ) : target_kw_value_list += value else : target_kw_value_list . append ( value )