From: Barry Warsaw Date: Tue, 18 Feb 1997 18:59:37 +0000 (+0000) Subject: Added a paragraph to describe clear_cache(), and why it's necessary. X-Git-Tag: v1.5a1~344 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=736bb0659fba85392e5b2034ed492a9e8bfad8d9;p=python Added a paragraph to describe clear_cache(), and why it's necessary. --- diff --git a/Doc/lib/libregsub.tex b/Doc/lib/libregsub.tex index 4c1497cfe8..d075e99e8c 100644 --- a/Doc/lib/libregsub.tex +++ b/Doc/lib/libregsub.tex @@ -49,3 +49,10 @@ pattern uses any characters except letters, digits and underscores as word delimiters. Capitalization is done by changing the first character of each word to upper case. \end{funcdesc} + +\begin{funcdesc}{clear_cache}{} +The regsub module maintains a cache of compiled regular expressions, +keyed on the regular expression string and the syntax of the regex +module at the time the expression was compiled. This function clears +that cache. +\end{funcdesc} diff --git a/Doc/libregsub.tex b/Doc/libregsub.tex index 4c1497cfe8..d075e99e8c 100644 --- a/Doc/libregsub.tex +++ b/Doc/libregsub.tex @@ -49,3 +49,10 @@ pattern uses any characters except letters, digits and underscores as word delimiters. Capitalization is done by changing the first character of each word to upper case. \end{funcdesc} + +\begin{funcdesc}{clear_cache}{} +The regsub module maintains a cache of compiled regular expressions, +keyed on the regular expression string and the syntax of the regex +module at the time the expression was compiled. This function clears +that cache. +\end{funcdesc}