Fix code example typo

pull/566/head
Ilya Kaznacheev 2021-08-31 10:30:51 +03:00 committed by GitHub
parent 4e70c54a5b
commit 430fad549d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,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.