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

Function call

Lib/test/test_decorators.py:45–47  ·  view source on GitHub ↗
(*args, **kwds)

Source from the content-addressed store, hash-verified

43 func_name = func.__name__
44 counts[func_name] = 0
45 def call(*args, **kwds):
46 counts[func_name] += 1
47 return func(*args, **kwds)
48 call.__name__ = func_name
49 return call
50 return decorate

Callers 5

doTestWithPreBuiltZipMethod · 0.70
test_splitlistMethod · 0.70
test_formatter_givenMethod · 0.70
assert_writesMethod · 0.70
_call_matcherMethod · 0.50

Calls 1

funcFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…