Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libfilecmp.tex @ 22835:73d145bfd8e4 legacy-trunk
Update doc to reflect Tim's changes to bool.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Fri, 05 Apr 2002 02:21:09 +0000 |
| parents | b148e18ae77a |
| children | 32fb94a6a4fe |
line wrap: on
line diff
--- a/Doc/lib/libfilecmp.tex Thu Apr 04 23:44:47 2002 +0000 +++ b/Doc/lib/libfilecmp.tex Fri Apr 05 02:21:09 2002 +0000 @@ -12,8 +12,8 @@ The \module{filecmp} module defines the following functions: \begin{funcdesc}{cmp}{f1, f2\optional{, shallow\optional{, use_statcache}}} -Compare the files named \var{f1} and \var{f2}, returning \code{1} if -they seem equal, \code{0} otherwise. +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. If @@ -51,9 +51,9 @@ \begin{verbatim} >>> import filecmp >>> filecmp.cmp('libundoc.tex', 'libundoc.tex') -1 +True >>> filecmp.cmp('libundoc.tex', 'lib.tex') -0 +False \end{verbatim}
