summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Hutchinson <jlhutch@gmail.com>2010-08-24 16:55:50 -0500
committerJay Hutchinson <jlhutch@gmail.com>2010-08-24 16:55:50 -0500
commit0f589ae3197e0fb7e51375b04a68c8ae076643b7 (patch)
tree02923714823fbd20427b0d527477758b1d8cf512
parent73dc3f76b8a27648c4d715a65d3789c24613a25d (diff)
downloadpylru-0f589ae3197e0fb7e51375b04a68c8ae076643b7.tar.gz
Converted classes to new style.
-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):