Commit b7e663a1 authored by Raymond Hettinger's avatar Raymond Hettinger

SF bug #749759: comparisons yield bool not int

Minor documentation fix.
parent 8ba1e2ad
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment