human
I wrote the below code

    def arg_replace(matchobj):
        "Takes    a    regex    matching    {{{name}}    and    returns    params['name']"
        param_name = matchobj.group(1)
        if (param_name in params):
            return params[param_name]
    return TEMPLATE_ARG_REGEX.sub(arg_replace, content)

What's a good function header?
 ... Here's a good function header?
assistant
#Here's a good function header.

def _format_template_content(content, params):