human
I wrote the below code

    @decorator
    def decorate(fn, *args, **kw):
        with expect_deprecated(*messages):
            return fn(*args, **kw)
    return decorate

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

def uses_deprecated(*messages):