MCPcopy Create free account
hub / github.com/LabPy/lantz / getter

Method getter

lantz/feat.py:174–179  ·  view source on GitHub ↗
(self, func)

Source from the content-addressed store, hash-verified

172 return self.setter(func)
173
174 def getter(self, func):
175 if func.__doc__ and not self.__original_doc__:
176 self.__original_doc__ = func.__doc__
177 _dochelper(self)
178 self.fget = func
179 return self
180
181 def setter(self, func):
182 if func.__doc__ and not self.__original_doc__:

Callers 1

__call__Method · 0.95

Calls 1

_dochelperFunction · 0.85

Tested by

no test coverage detected