human
I wrote the below code

    def g(*a, **kw):
        return threadsafe_iter(f(*a, **kw))
    return g

What's a good function header?

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

def threadsafe_generator(f):