Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
dispatch
Function · 0.70
warn
Method · 0.45
Tested by
no test coverage detected