Searched refs:configType (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/idlelib/ |
D | configHandler.py | 216 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 …]
|
D | configDialog.py | 631 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 …]
|