1
0
mirror of https://github.com/donnemartin/system-design-primer.git synced 2025-06-12 21:47:33 +02:00

Add missing colons to class methods (#143)

This commit is contained in:
cclauss
2018-03-18 14:19:08 +01:00
committed by Donne Martin
parent 38a93dc190
commit 0178943013
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ class Cache(object):
self.lookup = {}
self.linked_list = LinkedList()
def get(self, query)
def get(self, query):
"""Get the stored query result from the cache.
Accessing a node updates its position to the front of the LRU list.