Home
last modified time | relevance | path

Searched refs:configType (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/idlelib/
DconfigHandler.py216 def GetOption(self, configType, section, option, default=None, type=None, argument
230 if self.userCfg[configType].has_option(section, option):
231 return self.userCfg[configType].Get(section, option,
238 self.userCfg[configType].Get(section, option, raw=raw)))
244 if self.defaultCfg[configType].has_option(section,option):
245 return self.defaultCfg[configType].Get(
262 def SetOption(self, configType, section, option, value): argument
264 self.userCfg[configType].SetOption(section, option, value)
266 def GetSectionList(self, configSet, configType): argument
272 if not (configType in self.config_types):
[all …]
DconfigDialog.py631 for configType in dItems:
632 sections = idleConf.GetSectionList('default', configType)
634 dItems[configType][section] = {}
635 options = idleConf.defaultCfg[configType].GetOptionList(section)
637 dItems[configType][section][option] = (
638 idleConf.defaultCfg[configType].Get(section, option))
1152 def SetUserValue(self, configType, section, item, value): argument
1153 if idleConf.defaultCfg[configType].has_option(section, item):
1154 if idleConf.defaultCfg[configType].Get(section, item) == value:
1156 return idleConf.userCfg[configType].RemoveOption(section, item)
[all …]
/external/python/cpython3/Lib/idlelib/
Dconfig.py226 def GetOption(self, configType, section, option, default=None, type=None, argument
240 if self.userCfg[configType].has_option(section, option):
241 return self.userCfg[configType].Get(section, option,
248 self.userCfg[configType].Get(section, option, raw=raw)))
249 _warn(warning, configType, section, option)
251 if self.defaultCfg[configType].has_option(section,option):
252 return self.defaultCfg[configType].Get(
263 _warn(warning, configType, section, option)
266 def SetOption(self, configType, section, option, value): argument
268 self.userCfg[configType].SetOption(section, option, value)
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_squeezer.py121 def set_idleconf_option_with_cleanup(self, configType, section, option, value): argument
122 prev_val = idleConf.GetOption(configType, section, option)
123 idleConf.SetOption(configType, section, option, value)
125 configType, section, option, prev_val)