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

    inner_attname = ('__%s' % func.__name__)
    def new_fget(self):
        if (not hasattr(self, '_cache_')):
            self._cache_ = dict()
        cache = self._cache_
        if (inner_attname not in cache):
            cache[inner_attname] = func(self)
        return cache[inner_attname]
    return property(new_fget)

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

def memoizedproperty(func):