parameters: (env, identifier, to_remove)
docstring: Remove strings from a list.
  
      E.g.
      env.RemoveFromList('CXXFLAGS_warning', ['-Wold-style-cast'])
docstring_summary: Remove strings from a list.
docstring_tokens: Remove strings from a list .
function: def remove_from_list(env, identifier, to_remove):
      """
      Remove strings from a list.
  
      E.g.
      env.RemoveFromList('CXXFLAGS_warning', ['-Wold-style-cast'])
      """
      if identifier.startswith('$'):
          raise Exception("Identifier '%s' must not start with '$'!" % identifier)
  
      l = env.subst('$' + identifier)
      if isinstance(l, str):
          l = l.split(' ')
      for r in _listify(to_remove):
          if r in l:
              l.remove(r)
      env[identifier] = l
function_tokens: def remove_from_list ( env , identifier , to_remove ) : if identifier . startswith ( '$' ) : raise Exception ( "Identifier '%s' must not start with '$'!" % identifier ) l = env . subst ( '$' + identifier ) if isinstance ( l , str ) : l = l . split ( ' ' ) for r in _listify ( to_remove ) : if r in l : l . remove ( r ) env [ identifier ] = l