class_docstr: Decorator for CachedAttribute
class_docstr_tok: ["Decorator","for","CachedAttribute"]
code: def __init__(self, cachename=None):
      self.func = None
      self.cachename = cachename
  
imports: from statsmodels.tools.sm_exceptions import CacheWriteWarning
  from statsmodels.compat.pandas import cache_readonly
  import warnings
label_desc: Use image node_id 1 to create a new _cache_readonly object from inherited base classes: property with example: obj = _cache_readonly(cachename)