diff options
author | Raymond Hettinger <python@rcn.com> | 2003-06-06 02:52:14 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-06-06 02:52:14 (GMT) |
commit | b268f0345956603cfae226946b80060b6fc28be1 (patch) | |
tree | 17fe943b13526715a31cba964621e3397733f1e4 /Doc/ref/ref5.tex | |
parent | 24d7e0cbb8b978738f223d4bb6cb184054d72e18 (diff) | |
download | cpython-b268f0345956603cfae226946b80060b6fc28be1.zip cpython-b268f0345956603cfae226946b80060b6fc28be1.tar.gz cpython-b268f0345956603cfae226946b80060b6fc28be1.tar.bz2 |
SF bug #749759: comparisons yield bool not int
Minor documentation fix.
Diffstat (limited to 'Doc/ref/ref5.tex')
-rw-r--r-- | Doc/ref/ref5.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex index 7431d04..04880be 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 |