summaryrefslogtreecommitdiffstats
path: root/Doc/ref
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-06-06 02:52:14 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-06-06 02:52:14 (GMT)
commitb268f0345956603cfae226946b80060b6fc28be1 (patch)
tree17fe943b13526715a31cba964621e3397733f1e4 /Doc/ref
parent24d7e0cbb8b978738f223d4bb6cb184054d72e18 (diff)
downloadcpython-b268f0345956603cfae226946b80060b6fc28be1.zip
cpython-b268f0345956603cfae226946b80060b6fc28be1.tar.gz
cpython-b268f0345956603cfae226946b80060b6fc28be1.tar.bz2
SF bug #749759: comparisons yield bool not int
Minor documentation fix.
Diffstat (limited to 'Doc/ref')
-rw-r--r--Doc/ref/ref5.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex
index 7431d04..04880be 100644
--- a/Doc/ref/ref5.tex
+++ b/Doc/ref/ref5.tex
@@ -817,7 +817,7 @@ interpretation that is conventional in mathematics:
\productioncont{| "is" ["not"] | ["not"] "in"}
\end{productionlist}
-Comparisons yield integer values: \code{1} for true, \code{0} for false.
+Comparisons yield boolean values: \code{True} or \code{False}.
Comparisons can be chained arbitrarily, e.g., \code{x < y <= z} is
equivalent to \code{x < y and y <= z}, except that \code{y} is