MCPcopy Index your code
hub / github.com/python/cpython / setfunc

Function setfunc

Lib/test/test_inspect/inspect_fodder2.py:53–54  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

51
52# line 52
53def setfunc(func):
54 globals()["anonymous"] = func
55setfunc(lambda x, y: x*y)
56
57# line 57

Callers 1

inspect_fodder2.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…