Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __get__
Method
__get__
Lib/test/test_descr.py:4811–4812 ·
view source on GitHub ↗
(self, ob, type=None)
Source
from the content-addressed store, hash-verified
4809
4810
class
Descr(object):
4811
def
__get__(self, ob, type=None):
4812
return
1
4813
4814
class
C(object):
4815
attr = Descr()
Callers
14
__call__
Method · 0.45
test_classmethods
Method · 0.45
test_classmethods_in_c
Method · 0.45
test_method_get_meth_method_invalid_type
Method · 0.45
test_classic
Method · 0.45
test_methods
Method · 0.45
test_methods_in_c
Method · 0.45
__get__
Method · 0.45
test_properties
Method · 0.45
test_supers
Method · 0.45
test_meth_class_get
Method · 0.45
test_instance_method_get_behavior
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected