human
I wrote the below code

    def _deprecated(f):
        printme = [True]
        def g(*args, **kwargs):
            if printme[0]:
                print(('WARNING:    %s.%s    deprecated.    %s' % (filename, f.__name__, msg)))
                printme[0] = False
            return f(*args, **kwargs)
        return g
    return _deprecated

What's a good function header?

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

def deprecated(filename, msg=''):