human
Here's a good function header given the following:
I wrote the below code

    pattern = '(\\".*?\\"|\\\'.*?\\\')|(<#.*?#>|#[^\\r\\n]*$)'
    regex = re.compile(pattern, (re.MULTILINE | re.DOTALL))
    def _replacer(match):
        if (match.group(2) is not None):
            return ''
        else:
            return match.group(1)
    return regex.sub(_replacer, string)

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

def remove_comments(string):