diff options
author | Fred Drake <fdrake@acm.org> | 2000-04-03 20:13:55 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-04-03 20:13:55 (GMT) |
commit | 38e5d27caee56b6958e0034e342abb48e6100390 (patch) | |
tree | 6a0c853da853123dd2e628e8ec187517250c2530 /Doc/lib/liblinecache.tex | |
parent | 659ebfa79e891fc5e2480cd66c157970df57c451 (diff) | |
download | cpython-38e5d27caee56b6958e0034e342abb48e6100390.zip cpython-38e5d27caee56b6958e0034e342abb48e6100390.tar.gz cpython-38e5d27caee56b6958e0034e342abb48e6100390.tar.bz2 |
Merged changes from the 1.5.2p2 release.
(Very rough.)
Diffstat (limited to 'Doc/lib/liblinecache.tex')
-rw-r--r-- | Doc/lib/liblinecache.tex | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/lib/liblinecache.tex b/Doc/lib/liblinecache.tex index fb71d7a..1273521 100644 --- a/Doc/lib/liblinecache.tex +++ b/Doc/lib/liblinecache.tex @@ -17,7 +17,9 @@ The \module{linecache} module defines the following functions: \begin{funcdesc}{getline}{filename, lineno} Get line \var{lineno} from file named \var{filename}. This function -will never throw an exception --- it will return \code{''} on errors. +will never throw an exception --- it will return \code{''} on errors +(the terminating newline character will be included for lines that are +found). If a file named \var{filename} is not found, the function will look for it in the module\indexiii{module}{search}{path} search path, @@ -25,9 +27,8 @@ for it in the module\indexiii{module}{search}{path} search path, \end{funcdesc} \begin{funcdesc}{clearcache}{} -Clear the cache. Use this function if you know that you do not need -to read lines from many of files you already read from using this -module. +Clear the cache. Use this function if you no longer need lines from +files previously read using \function{getline()}. \end{funcdesc} \begin{funcdesc}{checkcache}{} |