aboutsummaryrefslogtreecommitdiff
path: root/src/cachetools/lru.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/cachetools/lru.py')
-rw-r--r--src/cachetools/lru.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cachetools/lru.py b/src/cachetools/lru.py
index 5d557b0..48ddb36 100644
--- a/src/cachetools/lru.py
+++ b/src/cachetools/lru.py
@@ -3,5 +3,7 @@ import warnings
from . import LRUCache
warnings.warn(
- "cachetools.lru is deprecated, please use cachetools.LRUCache", DeprecationWarning
+ "cachetools.lru is deprecated, please use cachetools.LRUCache",
+ DeprecationWarning,
+ stacklevel=2,
)