def _dump_inline_table(section):
retval = "<STR_LIT>"<EOL>if isinstance(section, dict):<EOL><INDENT>val_list = []<EOL>for k, v in section.items():<EOL><INDENT>val = _dump_inline_table(v)<EOL>val_list.append(k + "<STR_LIT>" + val)<EOL><DEDENT>retval += "<STR_LIT>" + "<STR_LIT:U+002CU+0020>".join(val_list) + "<STR_LIT>"<EOL>return retval<EOL><DEDENT>else:<EOL><INDENT>return str(_dump_value(section))<EOL><DEDENT>
Preserve inline table in its compact syntax instead of expanding
    into subsection.

    https://github.com/toml-lang/toml#user-content-inline-table