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

Method SetOption

Lib/idlelib/config.py:255–257  ·  view source on GitHub ↗

Set section option to value in user config file.

(self, configType, section, option, value)

Source from the content-addressed store, hash-verified

253 return default
254
255 def SetOption(self, configType, section, option, value):
256 """Set section option to value in user config file."""
257 self.userCfg[configType].SetOption(section, option, value)
258
259 def GetSectionList(self, configSet, configType):
260 """Return sections for configSet configType configuration.

Callers 15

save_optionMethod · 0.45
save_newMethod · 0.45
save_new_key_setMethod · 0.45
set_extension_valueMethod · 0.45
test_load_theme_cfgMethod · 0.45
test_builtin_nameMethod · 0.45
test_delete_customMethod · 0.45
test_load_key_cfgMethod · 0.45
test_builtin_nameMethod · 0.45
test_keybindingMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_load_theme_cfgMethod · 0.36
test_builtin_nameMethod · 0.36
test_delete_customMethod · 0.36
test_load_key_cfgMethod · 0.36
test_builtin_nameMethod · 0.36
test_keybindingMethod · 0.36
test_load_helplistMethod · 0.36
test_set_optionMethod · 0.36
test_remove_optionMethod · 0.36