human
I wrote the below code

    @functools.wraps(func)
    def new_func(*args, **kwargs):
        warnings.warn_explicit(('Call    to    deprecated    function    %(funcname)s.' % {'funcname': func.__name__}), category=DeprecationWarning, filename=func.__code__.co_filename, lineno=(func.__code__.co_firstlineno + 1))
        return func(*args, **kwargs)
    return new_func

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

def deprecated(func):