human
I wrote the below code

    def _deprecated(func):
        def newFunc(*args, **kwargs):
            message = ('Call    to    deprecated    function    %s' % func.__name__)
            if comment:
                message += (':    ' + comment)
            warn(message, category=DeprecationWarning, stacklevel=2)
            return func(*args, **kwargs)
        newFunc.__name__ = func.__name__
        newFunc.__doc__ = func.__doc__
        newFunc.__dict__.update(func.__dict__)
        return newFunc
    return _deprecated

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

def deprecated(comment=None):