[Python-checkins] python/dist/src/Doc/lib liblinecache.tex,1.5,1.6

perky at users.sourceforge.net perky at users.sourceforge.net
Tue Oct 26 11:16:43 CEST 2004


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19767/Doc/lib

Modified Files:
	liblinecache.tex 
Log Message:
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.


Index: liblinecache.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/liblinecache.tex,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- liblinecache.tex	24 Jan 2001 17:19:05 -0000	1.5
+++ liblinecache.tex	26 Oct 2004 09:16:41 -0000	1.6
@@ -31,9 +31,10 @@
 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:



More information about the Python-checkins mailing list