MCPcopy 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_threadMethod · 0.45
writer_funcMethod · 0.45
closerMethod · 0.45
mutate_setMethod · 0.45
read_setMethod · 0.45
executorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected