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

Function wrapper

Lib/functools.py:624–630  ·  view source on GitHub ↗
(*args, **kwds)

Source from the content-addressed store, hash-verified

622 if maxsize == 0:
623
624 def wrapper(*args, **kwds):
625 # No caching -- just a statistics update
626 nonlocal misses
627
628 misses += 1
629 result = user_function(*args, **kwds)
630 return result
631
632 elif maxsize is None:
633

Callers

nothing calls this directly

Calls 3

dispatchFunction · 0.70
warnMethod · 0.45
dirnameMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…