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

Function wrapper

Tools/jit/_llvm.py:26–32  ·  view source on GitHub ↗
(
        *args: _P.args, **kwargs: _P.kwargs  # pylint: disable = no-member
    )

Source from the content-addressed store, hash-verified

24
25 @functools.wraps(f)
26 async def wrapper(
27 *args: _P.args, **kwargs: _P.kwargs # pylint: disable = no-member
28 ) -> _R:
29 async with lock:
30 if args not in cache:
31 cache[args] = await f(*args, **kwargs)
32 return cache[args]
33
34 return wrapper
35

Callers

nothing calls this directly

Calls 1

fFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…