human
I wrote the below code

    @decorator
    def decorate(fn, *args, **kw):
        with expect_warnings(assert_=False, *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 emits_warning(*messages):