summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrés Delfino <adelfino@gmail.com>2018-11-07 18:09:11 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-11-07 18:09:11 (GMT)
commitae31e3fbf4e7def772fc1c94342d1011424fdc99 (patch)
tree78dcf2fb86f97aca36c07aa6b9955ce03b1be5e6
parentc5eec4426d9144b2255500217d0e3ff9463d2770 (diff)
downloadcpython-ae31e3fbf4e7def772fc1c94342d1011424fdc99.zip
cpython-ae31e3fbf4e7def772fc1c94342d1011424fdc99.tar.gz
cpython-ae31e3fbf4e7def772fc1c94342d1011424fdc99.tar.bz2
glob uses fnmatch.filter instead of fnmatch since 2001. (GH-10102)
-rw-r--r--Doc/library/fnmatch.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/fnmatch.rst b/Doc/library/fnmatch.rst
index ecba4aa..ce07d32 100644
--- a/Doc/library/fnmatch.rst
+++ b/Doc/library/fnmatch.rst
@@ -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.