MCPcopy 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
411def protect(f, p):
412 try: f(p)
413 except: pass
414
415protect_ident = ident(protect)
416

Callers 1

capture_eventsFunction · 0.85

Calls 1

fFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…