]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-74598: document that `fnmatch.filterfalse` is affected by cache limitation...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 19 Jul 2025 09:56:55 +0000 (11:56 +0200)
committerGitHub <noreply@github.com>
Sat, 19 Jul 2025 09:56:55 +0000 (09:56 +0000)
gh-74598: document that `fnmatch.filterfalse` is affected by cache limitation (GH-136781)
(cherry picked from commit 263e451c4114ac98add1f1e8aa9ee030e054bdfd)

Co-authored-by: Gergely Elias <gergely.elias@gmail.com>
Doc/library/fnmatch.rst

index 12e61bc36f5db0ce1125a82e53b8cbd631ec8f89..ee654b7a83e203b23188ccd0de1cbce599534645 100644 (file)
@@ -53,7 +53,7 @@ a :class:`!str` filename, and vice-versa.
 
 Finally, note that :func:`functools.lru_cache` with a *maxsize* of 32768
 is used to cache the (typed) compiled regex patterns in the following
-functions: :func:`fnmatch`, :func:`fnmatchcase`, :func:`.filter`.
+functions: :func:`fnmatch`, :func:`fnmatchcase`, :func:`.filter`, :func:`.filterfalse`.
 
 
 .. function:: fnmatch(name, pat)