Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ decorator
Function
decorator
Lib/test/support/threading_helper.py:62–67 ·
view source on GitHub ↗
(*args)
Source
from the content-addressed store, hash-verified
60
""
"
61
@functools.wraps(func)
62
def
decorator(*args):
63
key = threading_setup()
64
try
:
65
return
func(*args)
66
finally:
67
threading_cleanup(*key)
68
return
decorator
69
70
Callers
nothing calls this directly
Calls
3
threading_setup
Function · 0.85
threading_cleanup
Function · 0.85
func
Function · 0.50
Tested by
no test coverage detected