gh-74598: document that fnmatch.filterfalse is affected by cache limitation (#136781)

This commit is contained in:
Gergely Elias 2025-07-19 11:51:11 +02:00 committed by GitHub
parent 3eecc72ac7
commit 263e451c41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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)