def dumps(value):
from contoml.file.file import TOMLFile<EOL>if not isinstance(value, TOMLFile):<EOL><INDENT>raise RuntimeError("<STR_LIT>")<EOL><DEDENT>return value.dumps()<EOL>
Dumps a data structure to TOML source code.

The given value must be either a dict of dict values, a dict, or a TOML file constructed by this module.