MCPcopy Index your code
hub / github.com/RustPython/RustPython / registerResult

Function registerResult

Lib/unittest/signals.py:41–42  ·  view source on GitHub ↗
(result)

Source from the content-addressed store, hash-verified

39
40_results = weakref.WeakKeyDictionary()
41def registerResult(result):
42 _results[result] = 1
43
44def removeResult(result):
45 return bool(_results.pop(result, None))

Callers 2

runMethod · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by 1

runMethod · 0.68