MCPcopy Index your code
hub / github.com/RustPython/RustPython / __get__

Method __get__

Lib/test/test_typing.py:6132–6133  ·  view source on GitHub ↗
(self, obj, objtype=None)

Source from the content-addressed store, hash-verified

6130 def __init__(self, fget):
6131 self.fget = fget
6132 def __get__(self, obj, objtype=None):
6133 return self.fget(obj)
6134
6135 class WithOverride:
6136 @override # must not fail on object with `__slots__`

Callers

nothing calls this directly

Calls 1

fgetMethod · 0.80

Tested by

no test coverage detected