Commit 322f8bc6 authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub

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

(cherry picked from commit ae31e3fb)
Co-authored-by: default avatarAndrés Delfino <adelfino@gmail.com>
parent d06b60fc
...@@ -36,7 +36,7 @@ For example, ``'[?]'`` matches the character ``'?'``. ...@@ -36,7 +36,7 @@ For example, ``'[?]'`` matches the character ``'?'``.
Note that the filename separator (``'/'`` on Unix) is *not* special to this Note that the filename separator (``'/'`` on Unix) is *not* special to this
module. See module :mod:`glob` for pathname expansion (:mod:`glob` uses 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 ``?`` a period are not special for this module, and are matched by the ``*`` and ``?``
patterns. patterns.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment