[Python-checkins] glob uses fnmatch.filter instead of fnmatch since 2001. (GH-10102)

Miss Islington (bot) webhook-mailer at python.org
Wed Nov 7 13:30:22 EST 2018


https://github.com/python/cpython/commit/38bdaa47cfd2591c90d1fe0a958a3870750248a5
commit: 38bdaa47cfd2591c90d1fe0a958a3870750248a5
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-11-07T10:30:18-08:00
summary:

glob uses fnmatch.filter instead of fnmatch since 2001. (GH-10102)

(cherry picked from commit ae31e3fbf4e7def772fc1c94342d1011424fdc99)

Co-authored-by: Andrés Delfino <adelfino at gmail.com>

files:
M Doc/library/fnmatch.rst

diff --git a/Doc/library/fnmatch.rst b/Doc/library/fnmatch.rst
index ecba4aa1ba4c..ce07d326b395 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.
 



More information about the Python-checkins mailing list