SF bug #749759: comparisons yield bool not int

Minor documentation fix.
This commit is contained in:
Raymond Hettinger 2003-06-06 02:52:14 +00:00
parent 24d7e0cbb8
commit b268f03459
1 changed files with 1 additions and 1 deletions

View 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