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 5d366f2 commit 4c042a3Copy full SHA for 4c042a3
Doc/library/functools.rst
@@ -211,8 +211,9 @@ The :mod:`functools` module defines the following functions:
211
212
In general, the LRU cache should only be used when you want to reuse
213
previously computed values. Accordingly, it doesn't make sense to cache
214
- functions with side-effects, functions that need to create distinct mutable
215
- 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),
216
+ or impure functions such as time() or random().
217
218
Example of an LRU cache for static web content::
219
0 commit comments