glob uses fnmatch.filter instead of fnmatch since 2001. (GH-10102)
(cherry picked from commit ae31e3fbf4
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
This commit is contained in:
parent
b949f74f4b
commit
38bdaa47cf
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue