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.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cachetools/cache.py b/src/cachetools/cache.py
index 8c9dfd7..ee5269d 100644
--- a/src/cachetools/cache.py
+++ b/src/cachetools/cache.py
@@ -3,5 +3,7 @@ import warnings
from . import Cache
warnings.warn(
- "cachetools.cache is deprecated, please use cachetools.Cache", DeprecationWarning
+ "cachetools.cache is deprecated, please use cachetools.Cache",
+ DeprecationWarning,
+ stacklevel=2,
)