Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __get__
Method
__get__
Lib/test/test_math.py:209–210 ·
view source on GitHub ↗
(self, obj, objtype=None)
Source
from the content-addressed store, hash-verified
207
208
class
BadDescr:
209
def
__get__(self, obj, objtype=None):
210
raise
ValueError
211
212
class
MathTests(unittest.TestCase):
213
Callers
3
test_field_descriptor
Method · 0.45
patch_screen
Function · 0.45
test_method_descriptor_crash
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected