SF bug #749759: comparisons yield bool not int
Minor documentation fix.
This commit is contained in:
parent
24d7e0cbb8
commit
b268f03459
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue