mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
glob uses fnmatch.filter instead of fnmatch since 2001. (GH-10102)
This commit is contained in:
committed by
Serhiy Storchaka
parent
c5eec4426d
commit
ae31e3fbf4
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user