human
I wrote the below code

    def getter(value):
        return _getattr(value, attr, default)
    return transform(getter)

What's a good function header?

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

def getattr(attr, default=None):