MCPcopy Index your code
hub / github.com/RustPython/RustPython / wrapper

Function wrapper

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

Source from the content-addressed store, hash-verified

615 if maxsize == 0:
616
617 def wrapper(*args, **kwds):
618 # No caching -- just a statistics update
619 nonlocal misses
620 misses += 1
621 result = user_function(*args, **kwds)
622 return result
623
624 elif maxsize is None:
625

Callers

nothing calls this directly

Calls 2

dispatchFunction · 0.70
warnMethod · 0.45

Tested by

no test coverage detected