mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
Added a paragraph to describe clear_cache(), and why it's necessary.
This commit is contained in:
parent
cd77df64e6
commit
736bb0659f
2 changed files with 14 additions and 0 deletions
|
|
@ -49,3 +49,10 @@ pattern uses any characters except letters, digits and underscores as
|
||||||
word delimiters. Capitalization is done by changing the first
|
word delimiters. Capitalization is done by changing the first
|
||||||
character of each word to upper case.
|
character of each word to upper case.
|
||||||
\end{funcdesc}
|
\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}
|
||||||
|
|
|
||||||
|
|
@ -49,3 +49,10 @@ pattern uses any characters except letters, digits and underscores as
|
||||||
word delimiters. Capitalization is done by changing the first
|
word delimiters. Capitalization is done by changing the first
|
||||||
character of each word to upper case.
|
character of each word to upper case.
|
||||||
\end{funcdesc}
|
\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}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue