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

    def deprecated_dec(fn):
        @wraps(fn)
        def wrapper(*args, **kwargs):
            warnings.warn((msg or ('Function    %s    is    deprecated.' % fn.__name__)), category=DeprecationWarning, stacklevel=stacklevel)
            return fn(*args, **kwargs)
        return wrapper
    return deprecated_dec

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

def deprecated(msg=None, stacklevel=2):