def get_rcfile_section(app_name, section_name):
try:<EOL><INDENT>settings = rcfile(app_name, section_name)<EOL><DEDENT>except IOError:<EOL><INDENT>raise<EOL><DEDENT>except:<EOL><INDENT>raise KeyError('<STR_LIT>'<EOL>'<STR_LIT>'.format(section_name, app_name))<EOL><DEDENT>else:<EOL><INDENT>return settings<EOL><DEDENT>
Return the dictionary containing the rcfile section configuration
    variables.

    Parameters
    ----------
    section_name: str
        Name of the section in the rcfiles.

    app_name: str
        Name of the application to look for its rcfiles.

    Returns
    -------
    settings: dict
        Dict with variable values