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

Function wrapped_func

Lib/idlelib/idle_test/test_tooltip.py:31–33  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

29def add_call_counting(func):
30 @wraps(func)
31 def wrapped_func(*args, **kwargs):
32 wrapped_func.call_args_list.append((args, kwargs))
33 return func(*args, **kwargs)
34 wrapped_func.call_args_list = []
35 return wrapped_func
36

Callers

nothing calls this directly

Calls 2

funcFunction · 0.50
appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…