aboutsummaryrefslogtreecommitdiff
path: root/src/cachetools/ttl.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/cachetools/ttl.py')
-rw-r--r--src/cachetools/ttl.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cachetools/ttl.py b/src/cachetools/ttl.py
new file mode 100644
index 0000000..d96b677
--- /dev/null
+++ b/src/cachetools/ttl.py
@@ -0,0 +1,7 @@
+import warnings
+
+from . import TTLCache
+
+warnings.warn(
+ "cachetools.ttl is deprecated, please use cachetools.TTLCache", DeprecationWarning
+)