MCPcopy Index your code
hub / github.com/python/cpython / wrapper

Method wrapper

Lib/importlib/metadata/_context.py:92–95  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

90
91 @functools.wraps(func)
92 def wrapper(*args, **kwargs):
93 with ExceptionTrap(self.exceptions) as trap:
94 func(*args, **kwargs)
95 return _test(trap)
96
97 return wrapper
98

Callers

nothing calls this directly

Calls 3

ExceptionTrapClass · 0.85
funcFunction · 0.50
_testFunction · 0.50

Tested by

no test coverage detected