diff options
Diffstat (limited to 'Doc/library/fnmatch.rst')
-rw-r--r-- | Doc/library/fnmatch.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/fnmatch.rst b/Doc/library/fnmatch.rst index 925f08e..9163da5 100644 --- a/Doc/library/fnmatch.rst +++ b/Doc/library/fnmatch.rst @@ -46,6 +46,9 @@ module. See module :mod:`glob` for pathname expansion (:mod:`glob` uses a period are not special for this module, and are matched by the ``*`` and ``?`` patterns. +Also note that :func:`functools.lru_cache` with the *maxsize* of 32768 is used to +cache the compiled regex patterns in the following functions: :func:`fnmatch`, +:func:`fnmatchcase`, :func:`filter`. .. function:: fnmatch(filename, pattern) |