MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / decorating_function

Function decorating_function

tools/python-3.11.9-amd64/Lib/functools.py:518–521  ·  view source on GitHub ↗
(user_function)

Source from the content-addressed store, hash-verified

516 'Expected first argument to be an integer, a callable, or None')
517
518 def decorating_function(user_function):
519 wrapper = _lru_cache_wrapper(user_function, maxsize, typed, _CacheInfo)
520 wrapper.cache_parameters = lambda : {'maxsize': maxsize, 'typed': typed}
521 return update_wrapper(wrapper, user_function)
522
523 return decorating_function
524

Callers

nothing calls this directly

Calls 2

_lru_cache_wrapperFunction · 0.85
update_wrapperFunction · 0.85

Tested by

no test coverage detected