class_docstr: Hold config parsers for all idle config files in singleton instance.
  
  Default config files, self.defaultCfg --
      for config_type in self.config_types:
          (idle install dir)/config-{config-type}.def
  
  User config files, self.userCfg --
      for config_type in self.config_types:
      (user home dir)/.idlerc/config-{config-type}.cfg
class_docstr_tok: ["Hold","config","parsers","for","all","idle","config","files","in","singleton","instance",".","Default","config","files",",","self.defaultCfg","--","for","config_type","in","self.config_types",":","(","idle","install","dir",")","\/config-","{","config-type","}",".def","User","config","files",",","self.userCfg","--","for","config_type","in","self.config_types",":","(","user","home","dir",")","\/.idlerc\/config-","{","config-type","}",".cfg"]
docstr: Return sections for configSet configType configuration.
  
  configSet must be either 'user' or 'default'
  configType must be in self.config_types.
docstr_tok: ["Return","sections","for","configSet","configType","configuration",".","configSet","must","be","either","'user","'","or","'default'","configType","must","be","in","self.config_types","."]
code: def GetSectionList(self, configSet, configType):
      """Return sections for configSet configType configuration.
  
      configSet must be either 'user' or 'default'
      configType must be in self.config_types.
      """
      if not (configType in self.config_types):
          raise InvalidConfigType("Invalid configType specified")
      if configSet == "user":
          cfgParser = self.userCfg[configType]
      elif configSet == "default":
          cfgParser = self.defaultCfg[configType]
      else:
          raise InvalidConfigSet("Invalid configSet specified")
      return cfgParser.sections()
  
imports: from configparser import ConfigParser
  import os
  import sys
  from tkinter.font import Font
  import idlelib
label_desc: Use image node_id 6 for calling the IdleConf obj's underlying member method code with example usage: obj.GetSectionList(configSet, configType) and returns: cfgParser