human
I wrote the below code

    def _(*args, **kwargs):
        warnings.warn(('unittest.%s    is    deprecated.        Instead    use    the    %r    method    on    unittest.TestCase' % (name, name)), stacklevel=2, category=DeprecationWarning)
        return getattr(_inst, name)(*args, **kwargs)
    return _

What's a good function header?

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

def _deprecate(name):