MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / cache_info

Method cache_info

other/lru_cache.py:323–324  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

321 return result
322
323 def cache_info() -> LRUCache[T, U]:
324 return decorator_function_to_instance_map[func]
325
326 setattr(cache_decorator_wrapper, "cache_info", cache_info) # noqa: B010
327

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected