fnmatch docs: link to fnmatch.filter(), not builtins.filter() (GH-99819)

(cherry picked from commit ca3e611b1f)

Co-authored-by: Matthew Hughes <34972397+matthewhughes934@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2022-11-28 10:17:07 -08:00 committed by GitHub
parent 5dce4ab736
commit a2b84bbf77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ patterns.
Also note that :func:`functools.lru_cache` with the *maxsize* of 32768 is used to Also note that :func:`functools.lru_cache` with the *maxsize* of 32768 is used to
cache the compiled regex patterns in the following functions: :func:`fnmatch`, cache the compiled regex patterns in the following functions: :func:`fnmatch`,
:func:`fnmatchcase`, :func:`filter`. :func:`fnmatchcase`, :func:`.filter`.
.. function:: fnmatch(filename, pattern) .. function:: fnmatch(filename, pattern)