human
I wrote the below code

    def replace(match):
        return TEX_RESERVED_SYMBOLS_MAP[match.group()]
    return TEX_RESERVED_SYMBOLS_RE.sub(replace, input)

What's a good function header?

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

def _escape_tex_reserved_symbols(input):