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