diff options
author | Hye-Shik Chang <hyeshik@gmail.com> | 2004-10-26 09:16:42 (GMT) |
---|---|---|
committer | Hye-Shik Chang <hyeshik@gmail.com> | 2004-10-26 09:16:42 (GMT) |
commit | 182ac8514726402451a90fd59c9bf427f8071365 (patch) | |
tree | 1e7d6a1c24390a303d69842271d0a96cabefba7b /Doc | |
parent | 23109ef11e91c49b56b517ce454bcf87a4153c62 (diff) | |
download | cpython-182ac8514726402451a90fd59c9bf427f8071365.zip cpython-182ac8514726402451a90fd59c9bf427f8071365.tar.gz cpython-182ac8514726402451a90fd59c9bf427f8071365.tar.bz2 |
SF #737473: Show up-to-date source code in tracebacks always.
And add an optional argument 'filename' to linecache.checkcache()
to enable checking caches per-file.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/liblinecache.tex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/liblinecache.tex b/Doc/lib/liblinecache.tex index 8a9b914..c022ba9 100644 --- a/Doc/lib/liblinecache.tex +++ b/Doc/lib/liblinecache.tex @@ -31,9 +31,10 @@ Clear the cache. Use this function if you no longer need lines from files previously read using \function{getline()}. \end{funcdesc} -\begin{funcdesc}{checkcache}{} +\begin{funcdesc}{checkcache}{\optional{filename}} Check the cache for validity. Use this function if files in the cache -may have changed on disk, and you require the updated version. +may have changed on disk, and you require the updated version. If +\var{filename} is omitted, it will check the whole cache entries. \end{funcdesc} Example: |