diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-04-05 02:21:09 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-04-05 02:21:09 (GMT) |
commit | d3dab2b19288139dfa6fc7c4f3302b734573f9dd (patch) | |
tree | 539ad29bdea7cefa53f5b0cd844005a9ec264687 /Doc/lib/libfilecmp.tex | |
parent | c334df5727ad9cb4a5de85f69b03808b9856b55c (diff) | |
download | cpython-d3dab2b19288139dfa6fc7c4f3302b734573f9dd.zip cpython-d3dab2b19288139dfa6fc7c4f3302b734573f9dd.tar.gz cpython-d3dab2b19288139dfa6fc7c4f3302b734573f9dd.tar.bz2 |
Update doc to reflect Tim's changes to bool.
Diffstat (limited to 'Doc/lib/libfilecmp.tex')
-rw-r--r-- | Doc/lib/libfilecmp.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libfilecmp.tex b/Doc/lib/libfilecmp.tex index 6e474ae..ddb74ab 100644 --- a/Doc/lib/libfilecmp.tex +++ b/Doc/lib/libfilecmp.tex @@ -12,8 +12,8 @@ directories, with various optional time/correctness trade-offs. 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 @@ Example: \begin{verbatim} >>> import filecmp >>> filecmp.cmp('libundoc.tex', 'libundoc.tex') -1 +True >>> filecmp.cmp('libundoc.tex', 'lib.tex') -0 +False \end{verbatim} |