From: Raymond Hettinger Date: Fri, 6 Jun 2003 02:52:14 +0000 (+0000) Subject: SF bug #749759: comparisons yield bool not int X-Git-Tag: v2.3c1~532 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b268f0345956603cfae226946b80060b6fc28be1;p=python SF bug #749759: comparisons yield bool not int Minor documentation fix. --- diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex index 7431d04997..04880be368 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