]> granicus.if.org Git - python/commitdiff
SF bug #749759: comparisons yield bool not int
authorRaymond Hettinger <python@rcn.com>
Fri, 6 Jun 2003 02:52:14 +0000 (02:52 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 6 Jun 2003 02:52:14 +0000 (02:52 +0000)
Minor documentation fix.

Doc/ref/ref5.tex

index 7431d049976067ee432bd91efe1dbecd54ee8216..04880be3687d5f9f6475c7c919e18a2c9326927f 100644 (file)
@@ -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