summaryrefslogtreecommitdiff
path: root/lru.py
diff options
context:
space:
mode:
Diffstat (limited to 'lru.py')
-rw-r--r--lru.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lru.py b/lru.py
index 1bfef98..e47834e 100644
--- a/lru.py
+++ b/lru.py
@@ -37,12 +37,12 @@
# the node itself, creating a circular doubly linked list of size one. Each
# node has a 'obj' and 'key' variable, holding the object and the key it is
# stored under respectivly.
-class _dlnode:
+class _dlnode(object):
def __init__(self):
self.key = None
-class lrucache:
+class lrucache(object):
def __init__(self, size):