]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
`fnmatch` docs: link to `fnmatch.filter()`, not `builtins.filter()` (GH-99819)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 28 Nov 2022 18:17:07 +0000 (10:17 -0800)
committerGitHub <noreply@github.com>
Mon, 28 Nov 2022 18:17:07 +0000 (10:17 -0800)
(cherry picked from commit ca3e611b1f620eabb657ef08a95d5f5f554ea773)

Co-authored-by: Matthew Hughes <34972397+matthewhughes934@users.noreply.github.com>
Doc/library/fnmatch.rst

index 9163da57c7b9994389fe410c1ed8d2bab87a01e2..46bf0fc2848058f5133cea20f042316aab71942b 100644 (file)
@@ -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)