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

Method save_all_changed_extensions

Lib/idlelib/configdialog.py:2064–2080  ·  view source on GitHub ↗

Save configuration changes to the user config file. Attributes accessed: extensions Methods: set_extension_value

(self)

Source from the content-addressed store, hash-verified

2062 return self.ext_userCfg.SetOption(section, name, value)
2063
2064 def save_all_changed_extensions(self):
2065 """Save configuration changes to the user config file.
2066
2067 Attributes accessed:
2068 extensions
2069
2070 Methods:
2071 set_extension_value
2072 """
2073 has_changes = False
2074 for ext_name in self.extensions:
2075 options = self.extensions[ext_name]
2076 for opt in options:
2077 if self.set_extension_value(ext_name, opt):
2078 has_changes = True
2079 if has_changes:
2080 self.ext_userCfg.Save()
2081
2082
2083class HelpFrame(LabelFrame):

Callers 3

applyMethod · 0.80
delete_customMethod · 0.80
delete_custom_keysMethod · 0.80

Calls 2

set_extension_valueMethod · 0.95
SaveMethod · 0.80

Tested by

no test coverage detected