original_docstring: Decorator that makes a property lazy-evaluated.
docstring: Decorator that makes a property lazy-evaluated.
docstring_tokens: Decorator that makes a property lazy - evaluated .
code: def lazy_property(fn):
      """Decorator that makes a property lazy-evaluated."""
      attr_name = '_' + fn.__name__
  
      @property
      def _lazy_property(self):
          if not hasattr(self, attr_name):
              setattr(self, attr_name, fn(self))
          return getattr(self, attr_name)
      return _lazy_property
code_tokens: def lazy_property ( fn ) : attr_name = '_' + fn . __name__ @ property def _lazy_property ( self ) : if not hasattr ( self , attr_name ) : setattr ( self , attr_name , fn ( self ) ) return getattr ( self , attr_name ) return _lazy_property
short_docstring: Decorator that makes a property lazy-evaluated.
short_docstring_tokens: Decorator that makes a property lazy - evaluated .
comment: """Decorator that makes a property lazy-evaluated."""