Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ set
Method
set
Lib/test/test_free_threading/test_dict.py:56–58 ·
view source on GitHub ↗
(func, name, val)
Source
from the content-addressed store, hash-verified
54
return
f
55
56
def
set(func, name, val):
57
# Force creation of the dict via PyObject_GenericGetDict
58
func.__dict__[name] = val
59
60
self.racing_creation(make_obj, set)
61
Callers
6
gc_thread
Method · 0.45
writer_func
Method · 0.45
closer
Method · 0.45
mutate_set
Method · 0.45
read_set
Method · 0.45
executor
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected