Add missing colons to class methods (#143)
This commit is contained in:
parent
38a93dc190
commit
0178943013
@ -29,7 +29,7 @@ class Cache(object):
|
||||
self.lookup = {} # key: query, value: node
|
||||
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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user