mirror of
https://github.com/python/cpython.git
synced 2025-11-12 07:02:33 +00:00
glob uses fnmatch.filter instead of fnmatch since 2001. (GH-10102)
This commit is contained in:
parent
c5eec4426d
commit
ae31e3fbf4
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,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.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue