aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-11-28 10:17:07 -0800
committerGitHub <noreply@github.com>2022-11-28 10:17:07 -0800
commita2b84bbf77a5f871824f5502fcfc640c23af53f1 (patch)
tree7a8ae46a97680f66236a555ae2e0134eb34ad1aa
parentgh-99249: Clarify "read-only" slots tp_bases & tp_mro (GH-99342) (diff)
downloadcpython-a2b84bbf77a5f871824f5502fcfc640c23af53f1.tar.gz
cpython-a2b84bbf77a5f871824f5502fcfc640c23af53f1.tar.bz2
cpython-a2b84bbf77a5f871824f5502fcfc640c23af53f1.zip
`fnmatch` docs: link to `fnmatch.filter()`, not `builtins.filter()` (GH-99819)
(cherry picked from commit ca3e611b1f620eabb657ef08a95d5f5f554ea773) Co-authored-by: Matthew Hughes <34972397+matthewhughes934@users.noreply.github.com>
-rw-r--r--Doc/library/fnmatch.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/fnmatch.rst b/Doc/library/fnmatch.rst
index 9163da57c7..46bf0fc284 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)