[Python-checkins] python/dist/src/Doc/lib libfilecmp.tex,1.8,1.9
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Sun Dec 5 02:58:41 CET 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10193/Doc/lib
Modified Files:
libfilecmp.tex
Log Message:
Removed deprecated use_statcache argument.
Index: libfilecmp.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfilecmp.tex,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- libfilecmp.tex 6 Feb 2003 21:17:17 -0000 1.8
+++ libfilecmp.tex 5 Dec 2004 01:58:08 -0000 1.9
@@ -11,13 +11,12 @@
The \module{filecmp} module defines the following functions:
-\begin{funcdesc}{cmp}{f1, f2\optional{, shallow\optional{, use_statcache}}}
+\begin{funcdesc}{cmp}{f1, f2\optional{, shallow}}
Compare the files named \var{f1} and \var{f2}, returning \code{True} if
they seem equal, \code{False} otherwise.
Unless \var{shallow} is given and is false, files with identical
\function{os.stat()} signatures are taken to be equal.
-\versionchanged[\var{use_statcache} is obsolete and ignored.]{2.3}
Files that were compared using this function will not be compared again
unless their \function{os.stat()} signature changes.
@@ -27,7 +26,7 @@
\end{funcdesc}
\begin{funcdesc}{cmpfiles}{dir1, dir2, common\optional{,
- shallow\optional{, use_statcache}}}
+ shallow}}
Returns three lists of file names: \var{match}, \var{mismatch},
\var{errors}. \var{match} contains the list of files match in both
directories, \var{mismatch} includes the names of those that don't,
@@ -37,8 +36,8 @@
the comparison could not be done for some reason.
The \var{common} parameter is a list of file names found in both directories.
-The \var{shallow} and \var{use_statcache} parameters have the same
-meanings and default values as for \function{filecmp.cmp()}.
+The \var{shallow} parameter has the same
+meaning and default value as for \function{filecmp.cmp()}.
\end{funcdesc}
Example:
More information about the Python-checkins
mailing list