MCPcopy Create free account
hub / github.com/RustPython/RustPython / protect

Function protect

Lib/test/test_sys_setprofile.py:389–391  ·  view source on GitHub ↗
(f, p)

Source from the content-addressed store, hash-verified

387
388
389def protect(f, p):
390 try: f(p)
391 except: pass
392
393protect_ident = ident(protect)
394

Callers 1

capture_eventsFunction · 0.85

Calls 1

fFunction · 0.70

Tested by

no test coverage detected