summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libfilecmp.tex
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-04-05 02:21:09 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-04-05 02:21:09 (GMT)
commitd3dab2b19288139dfa6fc7c4f3302b734573f9dd (patch)
tree539ad29bdea7cefa53f5b0cd844005a9ec264687 /Doc/lib/libfilecmp.tex
parentc334df5727ad9cb4a5de85f69b03808b9856b55c (diff)
downloadcpython-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.tex8
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}