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

    class TranslateParser(TokenParser, ):
        def top(self):
            value = self.value()
            if (value[0] == "'"):
                pos = None
                m = re.match("^'([^']+)'(\\|.*$)", value)
                if m:
                    value = ('"%s"%s' % (m.group(1).replace('"', '\\"'), m.group(2)))
                elif (value[(-1)] == "'"):
                    value = ('"%s"' % value[1:(-1)].replace('"', '\\"'))
            if self.more():
                if (self.tag() == 'noop'):
                    noop = True
                else:
                    raise TemplateSyntaxError("only    option    for    'trans'    is    'noop'")
            else:
                noop = False
            return (value, noop)
    (value, noop) = TranslateParser(token.contents).top()
    return TranslateNode(parser.compile_filter(value), noop)

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

def do_translate(parser, token):