We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e46f1a commit fbe1cffCopy full SHA for fbe1cff
Doc/library/functools.rst
@@ -226,8 +226,9 @@ The :mod:`functools` module defines the following functions:
226
227
In general, the LRU cache should only be used when you want to reuse
228
previously computed values. Accordingly, it doesn't make sense to cache
229
- functions with side-effects, functions that need to create distinct mutable
230
- objects on each call, or impure functions such as time() or random().
+ functions with side-effects, functions that need to create
+ distinct mutable objects on each call (such as generators and async functions),
231
+ or impure functions such as time() or random().
232
233
Example of an LRU cache for static web content::
234
0 commit comments