def cache_property(key, empty, type):
 return property((lambda x: x._get_cache_value(key, empty, type)), (lambda x, v: x._set_cache_value(key, v, type)), (lambda x: x._del_cache_value(key)), ('accessor for %r' % key))

def cache_property ( key , empty , type ) : return property ( ( lambda x : x . _get_cache_value ( key , empty , type ) ) , ( lambda x , v : x . _set_cache_value ( key , v , type ) ) , ( lambda x : x . _del_cache_value ( key ) ) , ( 'accessor for %r' % key ) )
return a new property object for a cache header .