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

This commit is contained in:
Matthew Hughes 2022-11-28 18:08:08 +00:00 committed by GitHub
parent 7bae15cf37
commit ca3e611b1f
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)