@cached_property 缓存装饰器

以class为基础的缓存装饰器(自定义的)python class cached_property(property): """A decorator that converts a function into a lazy property. The function wrapped is called the first time to retrieve the resul
相关文章
相关标签/搜索