summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-11-07 18:30:27 (GMT)
committerGitHub <noreply@github.com>2018-11-07 18:30:27 (GMT)
commit3ede2b1da6be6c63c688b90f058bfbd15b94c52b (patch)
tree5d224c7d0bef684125c4e99341162e9cda4c9fd3 /Doc/library
parenta5bd0d3c300e27652fd364a2516ee30d17ba1cf5 (diff)
downloadcpython-3ede2b1da6be6c63c688b90f058bfbd15b94c52b.zip
cpython-3ede2b1da6be6c63c688b90f058bfbd15b94c52b.tar.gz
cpython-3ede2b1da6be6c63c688b90f058bfbd15b94c52b.tar.bz2
glob uses fnmatch.filter instead of fnmatch since 2001. (GH-10102)
(cherry picked from commit ae31e3fbf4e7def772fc1c94342d1011424fdc99) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
Diffstat (limited to 'Doc/library')
-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 48dc5e5..fb0a1e3 100644
--- a/Doc/library/fnmatch.rst
+++ b/Doc/library/fnmatch.rst
@@ -42,7 +42,7 @@ For example, ``'[?]'`` matches the character ``'?'``.
Note that the filename separator (``'/'`` on Unix) is *not* special to this
module. See module :mod:`glob` for pathname expansion (:mod:`glob` uses
-:func:`fnmatch` to match pathname segments). Similarly, filenames starting with
+:func:`.filter` to match pathname segments). Similarly, filenames starting with
a period are not special for this module, and are matched by the ``*`` and ``?``
patterns.