diff options
author | Ihor Gorobets <iho@users.noreply.github.com> | 2015-03-15 22:21:47 +0200 |
---|---|---|
committer | Ihor Gorobets <iho@users.noreply.github.com> | 2015-03-15 22:21:47 +0200 |
commit | 281052d0c079a9c56a69be43d62d6e6ec293a5de (patch) | |
tree | 569e2d8948eb30ebd6539fa4e18800f3a2f953d6 | |
parent | 221dd259f5c34562c835611d1cf62384b9019da4 (diff) | |
download | pylru-281052d0c079a9c56a69be43d62d6e6ec293a5de.tar.gz |
Make cache available from outer space.
-rw-r--r-- | pylru.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -529,4 +529,5 @@ class lrudecorator(object): value = func(*args, **kwargs) self.cache[key] = value return value + wrapped.cache = self.cache return wrapped |