Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __set__
Method
__set__
Lib/test/test_descr.py:4985–4986 ·
view source on GitHub ↗
(self, obj, value)
Source
from the content-addressed store, hash-verified
4983
self.name = name
4984
4985
def
__set__(self, obj, value):
4986
obj.__dict__[self.name] = value
4987
descr = Descr(
"a"
)
4988
4989
class
X(object):
Callers
3
test_properties
Method · 0.45
verify_dict_readonly
Method · 0.45
test_set_doc
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected