human
I wrote the below code

    from nose.tools import make_decorator
    if isgenerator(func):
        def newfunc(*arg, **kw):
            for v in func(*arg, **kw):
                (yield v)
    else:
        def newfunc(*arg, **kw):
            return func(*arg, **kw)
    newfunc = make_decorator(func)(newfunc)
    newfunc.__module__ = module
    return newfunc

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

def transplant_func(func, module):