human
I wrote the below code

    keys = ('fget', 'fset', 'fdel')
    func_locals = {'doc': function.__doc__}
    def probe_func(frame, event, arg):
        if (event == 'return'):
            locals = frame.f_locals
            func_locals.update(dict(((k, locals.get(k)) for k in keys)))
            sys.settrace(None)
        return probe_func
    sys.settrace(probe_func)
    function()
    return property(**func_locals)

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

def propertyx(function):