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

    def _NodeRepr(node):
        text = str(node.getType())
        if node.getText():
            text = ('%s:    %s' % (text, node.getText()))
        return text
    children = ''
    if tree.children:
        children = ('\n' + '\n'.join([TreeRepr(child, depth=(depth + 1)) for child in tree.children if child]))
    return (((depth * '        ') + _NodeRepr(tree)) + children)

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

def TreeRepr(tree, depth=0):