Commit 01789430 authored by cclauss's avatar cclauss Committed by Donne Martin
Browse files

Add missing colons to class methods (#143)

parent 38a93dc1
......@@ -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.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment