aboutsummaryrefslogtreecommitdiff
path: root/src/cachetools/lfu.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/cachetools/lfu.py')
-rw-r--r--src/cachetools/lfu.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cachetools/lfu.py b/src/cachetools/lfu.py
new file mode 100644
index 0000000..5c9acef
--- /dev/null
+++ b/src/cachetools/lfu.py
@@ -0,0 +1,9 @@
+import warnings
+
+from . import LFUCache
+
+warnings.warn(
+ "cachetools.lfu is deprecated, please use cachetools.LFUCache",
+ DeprecationWarning,
+ stacklevel=2,
+)