human
I wrote the below code

    if (fn is None):
        def decorator(fn):
            return timecall(fn, immediate=immediate)
        return decorator
    fp = FuncTimer(fn, immediate=immediate)
    def new_fn(*args, **kw):
        return fp(*args, **kw)
    new_fn.__doc__ = fn.__doc__
    new_fn.__name__ = fn.__name__
    new_fn.__dict__ = fn.__dict__
    new_fn.__module__ = fn.__module__
    return new_fn

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

def timecall(fn=None, immediate=True):