human
I wrote the below code

    def _decorator(func, message=message):
        if (message is None):
            message = ('%s    is    deprecated' % func.__name__)
        def newfunc(*args, **kwds):
            warnings.warn(message, DeprecationWarning, stacklevel=2)
            return func(*args, **kwds)
        return newfunc
    return _decorator

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

def deprecated(message=None):