parameters: (self, func)
return_statement: return func
docstring: Use the given function as the property getter.
  
          This method is intended to be used as a decorator. The original
          function will still be callable.
docstring_summary: Use the given function as the property getter.
docstring_tokens: Use the given function as the property getter .
function: def getter(self, func):
          """Use the given function as the property getter.
  
          This method is intended to be used as a decorator. The original
          function will still be callable.
  
          """
          mode, ignored = self.getattr_mode
          self.set_getattr_mode(mode, func)
          return func
function_tokens: def getter ( self , func ) : mode , ignored = self . getattr_mode self . set_getattr_mode ( mode , func ) return func