summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-01-11 23:15:47 (GMT)
committerFred Drake <fdrake@acm.org>2003-01-11 23:15:47 (GMT)
commit8ec17a0a8da37d7622b7c54b61542590a31042f4 (patch)
tree449de3e6b912e23caea3450afe7c4817aa6aa65f
parenta9bc168f95408be86e79365a075d069465a06434 (diff)
downloadcpython-8ec17a0a8da37d7622b7c54b61542590a31042f4.zip
cpython-8ec17a0a8da37d7622b7c54b61542590a31042f4.tar.gz
cpython-8ec17a0a8da37d7622b7c54b61542590a31042f4.tar.bz2
Minor correction and clarification.
-rw-r--r--Doc/lib/liboperator.tex4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/lib/liboperator.tex b/Doc/lib/liboperator.tex
index 7aaefcf..4cdcc92 100644
--- a/Doc/lib/liboperator.tex
+++ b/Doc/lib/liboperator.tex
@@ -59,7 +59,9 @@ core defines this operation. The result is affected by the
\end{funcdesc}
\begin{funcdesc}{truth}{o}
-Return \code{1} if \var{o} is true, and 0 otherwise.
+Return \constant{True} if \var{o} is true, and \constant{False}
+otherwise. This is equivalent to the constructor of the \class{bool}
+constructor.
\end{funcdesc}