summaryrefslogtreecommitdiff
path: root/requests_cache/patcher.py
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2022-03-10 13:03:44 -0600
committerJordan Cook <jordan.cook@pioneer.com>2022-03-11 09:02:56 -0600
commit39e0acee98b9995bd51d0f051a0060c2e5b6abe8 (patch)
tree5b9c2eb5328c2e45e18d965d5d69752bd47626ab /requests_cache/patcher.py
parentae4788e75ff84606d5d907256cd7175af5af9b5d (diff)
downloadrequests-cache-39e0acee98b9995bd51d0f051a0060c2e5b6abe8.tar.gz
Reword inaccurate usage of the term 'revalidate'
Diffstat (limited to 'requests_cache/patcher.py')
-rw-r--r--requests_cache/patcher.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/requests_cache/patcher.py b/requests_cache/patcher.py
index 14301cf..c2ac61d 100644
--- a/requests_cache/patcher.py
+++ b/requests_cache/patcher.py
@@ -124,10 +124,10 @@ def clear():
def remove_expired_responses(expire_after: ExpirationTime = None):
- """Remove expired responses from the cache, optionally with revalidation
+ """Remove expired responses from the cache, and optionally reset expiration
Args:
- expire_after: A new expiration time used to revalidate the cache
+ expire_after: A new expiration time to set on existing cache items
"""
session = requests.Session()
if isinstance(session, CachedSession):