MCPcopy Index your code
hub / github.com/python/cpython / _save_modified_value

Function _save_modified_value

Lib/_osx_support.py:144–150  ·  view source on GitHub ↗

Save modified and original unmodified value of configuration var

(_config_vars, cv, newvalue)

Source from the content-addressed store, hash-verified

142 del _config_vars[k]
143
144def _save_modified_value(_config_vars, cv, newvalue):
145 """Save modified and original unmodified value of configuration var"""
146
147 oldvalue = _config_vars.get(cv, '')
148 if (oldvalue != newvalue) and (_INITPRE + cv not in _config_vars):
149 _config_vars[_INITPRE + cv] = oldvalue
150 _config_vars[cv] = newvalue
151
152
153_cache_default_sysroot = None

Callers 5

_remove_universal_flagsFunction · 0.85
_override_all_archsFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…