Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ __repr__
Method
__repr__
other/least_recently_used.py:73–74 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
71
print(k)
72
73
def
__repr__(self) -> str:
74
return
f
"LRUCache({self._MAX_CAPACITY}) => {list(self.dq_store)}"
75
76
77
if
__name__ ==
"__main__"
:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected