]> granicus.if.org Git - python/commitdiff
glob uses fnmatch.filter instead of fnmatch since 2001. (GH-10102)
authorAndrés Delfino <adelfino@gmail.com>
Wed, 7 Nov 2018 18:09:11 +0000 (15:09 -0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 7 Nov 2018 18:09:11 +0000 (20:09 +0200)
Doc/library/fnmatch.rst

index ecba4aa1ba4c45fb2184aeb9fca782915f15f0e5..ce07d326b395d80605e4b712343a6b79feb5a37e 100644 (file)
@@ -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.