diff options
author | Jay Hutchinson <jlhutch@gmail.com> | 2010-08-24 16:55:50 -0500 |
---|---|---|
committer | Jay Hutchinson <jlhutch@gmail.com> | 2010-08-24 16:55:50 -0500 |
commit | 0f589ae3197e0fb7e51375b04a68c8ae076643b7 (patch) | |
tree | 02923714823fbd20427b0d527477758b1d8cf512 | |
parent | 73dc3f76b8a27648c4d715a65d3789c24613a25d (diff) | |
download | pylru-0f589ae3197e0fb7e51375b04a68c8ae076643b7.tar.gz |
Converted classes to new style.
-rw-r--r-- | lru.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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): |