diff options
author | Barry Warsaw <barry@python.org> | 1997-02-18 18:59:37 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1997-02-18 18:59:37 (GMT) |
commit | 736bb0659fba85392e5b2034ed492a9e8bfad8d9 (patch) | |
tree | 5aa1ef08efc64beb754899900d75dcac6820a4a5 /Doc/lib | |
parent | cd77df64e6a02215feead95def6e1a4d355865a8 (diff) | |
download | cpython-736bb0659fba85392e5b2034ed492a9e8bfad8d9.zip cpython-736bb0659fba85392e5b2034ed492a9e8bfad8d9.tar.gz cpython-736bb0659fba85392e5b2034ed492a9e8bfad8d9.tar.bz2 |
Added a paragraph to describe clear_cache(), and why it's necessary.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libregsub.tex | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/lib/libregsub.tex b/Doc/lib/libregsub.tex index 4c1497c..d075e99 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} |