Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ protect
Function
protect
Lib/test/test_sys_setprofile.py:411–413 ·
view source on GitHub ↗
(f, p)
Source
from the content-addressed store, hash-verified
409
410
411
def
protect(f, p):
412
try
: f(p)
413
except
:
pass
414
415
protect_ident = ident(protect)
416
Callers
1
capture_events
Function · 0.85
Calls
1
f
Function · 0.70
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…