summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@hut.pm>2017-06-22 22:25:30 +0200
committerhut <hut@hut.pm>2017-06-22 22:25:30 +0200
commitef78e4e5daedf4f8e843190631935030bf5331bb (patch)
tree56c9a5b41ee5f3abc9fbe0c75e7ec920d084b94d
parent086074db6f08af058ffdced7319287715a88d42a (diff)
downloadranger-ef78e4e5daedf4f8e843190631935030bf5331bb.tar.gz
ext.cached_function: comment about functools.lru_cache
-rw-r--r--ranger/ext/cached_function.py1
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 = {}