code: def _config_parser_to_defaultdict(config_parser):
      
      config = defaultdict(defaultdict)
      for section, section_content in config_parser.items():
          if section != 'DEFAULT':
              for option, option_value in section_content.items():
                  config[section][option] = option_value
      return config
docs: Convert a ConfigParser to a defaultdict.
  
      Args:
          config_parser (ConfigParser): A ConfigParser.