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

Function wrapper

Lib/test/support/hashlib_helper.py:564–566  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

562 def decorator_func(func):
563 @functools.wraps(func)
564 def wrapper(*args, **kwargs):
565 test(*test_args, **test_kwargs)
566 return func(*args, **kwargs)
567 return wrapper
568 return functools.partial(_decorate_func_or_class, decorator_func)
569

Callers

nothing calls this directly

Calls 3

testFunction · 0.50
funcFunction · 0.50
wrappedFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…