human
Here's a good function header given the following:
I wrote the below code

    def oneshot(self, *args, **kw):
        result = fn(self, *args, **kw)
        memo = (lambda *a, **kw: result)
        memo.__name__ = fn.__name__
        memo.__doc__ = fn.__doc__
        self.__dict__[fn.__name__] = memo
        return result
    return update_wrapper(oneshot, fn)

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

def memoized_instancemethod(fn):