parameters: (_config_vars)
return_statement: return _config_vars
docstring: Remove all universal build arguments from config vars
docstring_summary: Remove all universal build arguments from config vars
docstring_tokens: Remove all universal build arguments from config vars
function: def _remove_universal_flags(_config_vars):
      """Remove all universal build arguments from config vars"""
  
      for cv in _UNIVERSAL_CONFIG_VARS:
          # Do not alter a config var explicitly overridden by env var
          if cv in _config_vars and cv not in os.environ:
              flags = _config_vars[cv]
              flags = re.sub(r'-arch\s+\w+\s', ' ', flags, flags=re.ASCII)
              flags = re.sub(r'-isysroot\s*\S+', ' ', flags)
              _save_modified_value(_config_vars, cv, flags)
  
      return _config_vars
function_tokens: def _remove_universal_flags ( _config_vars ) : for cv in _UNIVERSAL_CONFIG_VARS : # Do not alter a config var explicitly overridden by env var if cv in _config_vars and cv not in os . environ : flags = _config_vars [ cv ] flags = re . sub ( r'-arch\s+\w+\s' , ' ' , flags , flags = re . ASCII ) flags = re . sub ( r'-isysroot\s*\S+' , ' ' , flags ) _save_modified_value ( _config_vars , cv , flags ) return _config_vars