Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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()
41
def
registerResult(result):
42
_results[result] = 1
43
44
def
removeResult(result):
45
return
bool(_results.pop(result, None))
Callers
2
run
Method · 0.85
run
Method · 0.85
Calls
no outgoing calls
Tested by
1
run
Method · 0.68