Fix two missing colons

pull/143/head
cclauss 2018-03-07 06:08:34 +01:00
parent f099a0ad3f
commit 091d9b7bb8
2 changed files with 2 additions and 2 deletions

View File

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

View File

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