human
I wrote the below code

    def _html_sub(m):
        u'    Substitute    raw    html    with    plain    text.    '
        try:
            (raw, safe) = md.htmlStash.rawHtmlBlocks[int(m.group(1))]
        except (IndexError, TypeError):
            return m.group(0)
        if (md.safeMode and (not safe)):
            return u''
        return re.sub(u'(<[^>]+>)|(&[\\#a-zA-Z0-9]+;)', u'', raw)
    return HTML_PLACEHOLDER_RE.sub(_html_sub, text)

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

def stashedHTML2text(text, md):