[Python-checkins] `fnmatch` docs: link to `fnmatch.filter()`, not `builtins.filter()` (#99819)

AlexWaygood webhook-mailer at python.org
Mon Nov 28 13:08:14 EST 2022


https://github.com/python/cpython/commit/ca3e611b1f620eabb657ef08a95d5f5f554ea773
commit: ca3e611b1f620eabb657ef08a95d5f5f554ea773
branch: main
author: Matthew Hughes <34972397+matthewhughes934 at users.noreply.github.com>
committer: AlexWaygood <Alex.Waygood at Gmail.com>
date: 2022-11-28T18:08:08Z
summary:

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

files:
M Doc/library/fnmatch.rst

diff --git a/Doc/library/fnmatch.rst b/Doc/library/fnmatch.rst
index 9163da57c7b9..46bf0fc28480 100644
--- a/Doc/library/fnmatch.rst
+++ b/Doc/library/fnmatch.rst
@@ -48,7 +48,7 @@ patterns.
 
 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`,
-:func:`fnmatchcase`, :func:`filter`.
+:func:`fnmatchcase`, :func:`.filter`.
 
 .. function:: fnmatch(filename, pattern)
 



More information about the Python-checkins mailing list