MCPcopy Index your code
hub / github.com/python/cpython / getter

Method getter

Lib/test/test_abc.py:235–236  ·  view source on GitHub ↗
(self, callable)

Source from the content-addressed store, hash-verified

233 self._fget = fget
234 self._fset = fset
235 def getter(self, callable):
236 return Descriptor(callable, self._fget)
237 def setter(self, callable):
238 return Descriptor(self._fget, callable)
239 @property

Callers 3

get_originalMethod · 0.45
__enter__Method · 0.45
__get__Method · 0.45

Calls 1

DescriptorClass · 0.70

Tested by

no test coverage detected