def _init_setting_completions():
 log.completion.debug('Initializing setting completion.')
 _instances[usertypes.Completion.section] = configmodel.SettingSectionCompletionModel()
 _instances[usertypes.Completion.option] = {}
 _instances[usertypes.Completion.value] = {}
 for sectname in configdata.DATA:
  opt_model = configmodel.SettingOptionCompletionModel(sectname)
  _instances[usertypes.Completion.option][sectname] = opt_model
  _instances[usertypes.Completion.value][sectname] = {}
  for opt in configdata.DATA[sectname]:
   val_model = configmodel.SettingValueCompletionModel(sectname, opt)
   _instances[usertypes.Completion.value][sectname][opt] = val_model

def _init_setting_completions ( ) : log . completion . debug ( 'Initializing setting completion.' ) _instances [ usertypes . Completion . section ] = configmodel . SettingSectionCompletionModel ( ) _instances [ usertypes . Completion . option ] = { } _instances [ usertypes . Completion . value ] = { } for sectname in configdata . DATA : opt_model = configmodel . SettingOptionCompletionModel ( sectname ) _instances [ usertypes . Completion . option ] [ sectname ] = opt_model _instances [ usertypes . Completion . value ] [ sectname ] = { } for opt in configdata . DATA [ sectname ] : val_model = configmodel . SettingValueCompletionModel ( sectname , opt ) _instances [ usertypes . Completion . value ] [ sectname ] [ opt ] = val_model
initialize setting completion models .