]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
`fnmatch` docs: link to `fnmatch.filter()`, not `builtins.filter()` (#99819)
authorMatthew Hughes <34972397+matthewhughes934@users.noreply.github.com>
Mon, 28 Nov 2022 18:08:08 +0000 (18:08 +0000)
committerGitHub <noreply@github.com>
Mon, 28 Nov 2022 18:08:08 +0000 (18:08 +0000)
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)