Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ae31e3f

Browse files
andresdelfinoserhiy-storchaka
authored andcommitted
glob uses fnmatch.filter instead of fnmatch since 2001. (GH-10102)
1 parent c5eec44 commit ae31e3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/fnmatch.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ For example, ``'[?]'`` matches the character ``'?'``.
4242

4343
Note that the filename separator (``'/'`` on Unix) is *not* special to this
4444
module. See module :mod:`glob` for pathname expansion (:mod:`glob` uses
45-
:func:`fnmatch` to match pathname segments). Similarly, filenames starting with
45+
:func:`.filter` to match pathname segments). Similarly, filenames starting with
4646
a period are not special for this module, and are matched by the ``*`` and ``?``
4747
patterns.
4848

0 commit comments

Comments
 (0)