Skip to content

Commit

Permalink
glob uses fnmatch.filter instead of fnmatch since 2001. (GH-10102)
Browse files Browse the repository at this point in the history
(cherry picked from commit ae31e3f)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
  • Loading branch information
miss-islington and andresdelfino committed Nov 7, 2018
1 parent d06b60f commit 322f8bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/fnmatch.rst
Expand Up @@ -36,7 +36,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.

Expand Down

0 comments on commit 322f8bc

Please sign in to comment.