diff options
author | hut <hut@hut.pm> | 2017-06-22 22:25:30 +0200 |
---|---|---|
committer | hut <hut@hut.pm> | 2017-06-22 22:25:30 +0200 |
commit | ef78e4e5daedf4f8e843190631935030bf5331bb (patch) | |
tree | 56c9a5b41ee5f3abc9fbe0c75e7ec920d084b94d /ranger | |
parent | 086074db6f08af058ffdced7319287715a88d42a (diff) | |
download | ranger-ef78e4e5daedf4f8e843190631935030bf5331bb.tar.gz |
ext.cached_function: comment about functools.lru_cache
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/ext/cached_function.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/ext/cached_function.py b/ranger/ext/cached_function.py index 4255443c..7fdd579e 100644 --- a/ranger/ext/cached_function.py +++ b/ranger/ext/cached_function.py @@ -4,6 +4,7 @@ from __future__ import (absolute_import, division, print_function) +# Similar to functools.lru_cache of python3 def cached_function(fnc): cache = {} |