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

    class c(object, ):
        __slots__ = ('value',)
        def __init__(self, value):
            if (not isinstance(value, type_)):
                raise TypeError(("values    must    be    of    type    '%s'    (received    '%s')" % (type_.__name__, type(value).__name__)))
            self.value = value
    c.__name__ = ('box(%s)' % type_.__name__)
    return c

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

@memoize(cache=WeakKeyDictionary())
def box(type_):