summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/utils.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index 9b6f17f273..741ed585f2 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -97,7 +97,7 @@ need to distinguish caches by the ``Accept-language`` header.
If there is no headerlist stored, the page needs to be rebuilt, so this
function returns ``None``.
-.. function:: learn_cache_key(request, response, cache_timeout=None, key_prefix=None)
+.. function:: learn_cache_key(request, response, cache_timeout=None, key_prefix=None, cache=None)
Learns what headers to take into account for some request path from the
response object. It stores those headers in a global path registry so that