]> granicus.if.org Git - python/commitdiff
Added a paragraph to describe clear_cache(), and why it's necessary.
authorBarry Warsaw <barry@python.org>
Tue, 18 Feb 1997 18:59:37 +0000 (18:59 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 18 Feb 1997 18:59:37 +0000 (18:59 +0000)
Doc/lib/libregsub.tex
Doc/libregsub.tex

index 4c1497cfe8907124a3cb41bea096553ff68ea73b..d075e99e8c1d0a5452aa7ef60083686d7c5cf912 100644 (file)
@@ -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}
index 4c1497cfe8907124a3cb41bea096553ff68ea73b..d075e99e8c1d0a5452aa7ef60083686d7c5cf912 100644 (file)
@@ -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}