human
I wrote the below code

    def _get_name(func_or_class):
        try:
            return func_or_class.__name__
        except AttributeError:
            return func_or_class.__class__.__name__
    _builtin_functions[(name or _get_name(f))] = f
    return f

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

def core_helper(f, name=None):