Commit 63d0cbab authored by Simon Charette's avatar Simon Charette
Browse files

Merge pull request #2541 from arachnegl/22398_KEY_FUNCTION_doc_detail

Fixed #22398 -- Added detail about callable in KEY_FUNCTION docs
parents 72d3889d 8da86fd1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -189,7 +189,7 @@ backend class (i.e. ``mypackage.backends.whatever.WhateverCache``).
KEY_FUNCTION
~~~~~~~~~~~~

A string containing a dotted path to a function that defines how to
A string containing a dotted path to a function (or any callable) that defines how to
compose a prefix, version and key into a final cache key. The default
implementation is equivalent to the function::