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

    def pa(s, l, t):
        return [func(tokn, *args) for tokn in t]
    try:
        func_name = getattr(func, '__name__', getattr(func, '__class__').__name__)
    except Exception:
        func_name = str(func)
    pa.__name__ = func_name
    return pa

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

def tokenMap(func, *args):