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

miss-islington webhook-mailer at python.org
Mon Nov 28 13:17:17 EST 2022


https://github.com/python/cpython/commit/a2b84bbf77a5f871824f5502fcfc640c23af53f1
commit: a2b84bbf77a5f871824f5502fcfc640c23af53f1
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-11-28T10:17:07-08:00
summary:

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

(cherry picked from commit ca3e611b1f620eabb657ef08a95d5f5f554ea773)

Co-authored-by: Matthew Hughes <34972397+matthewhughes934 at users.noreply.github.com>

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