Skip to content

Commit e30a88f

Browse files
committed
lru cache finished
1 parent a1302d3 commit e30a88f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Sprint-2/implement_lru_cache/lru_cache.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,11 @@ def get(key):
4848
# // tracker to now timestamp updaed
4949
item["tracker"] = time.time()
5050

51-
#to front
51+
#move to front
5252
our_list.remove(item)
5353
our_list.insert(0, item)
5454

5555
return item["value"]
56-
5756
return None
5857

5958

0 commit comments

Comments
 (0)