diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-08-29 04:39:12 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-08-29 04:39:12 (GMT) |
commit | 3bd844e695c8295c23d64d816bd763543cc9728f (patch) | |
tree | 5c8ae0b247d082498a3e9c02e1eeca9af6a1f0c2 /Doc/ref/ref5.tex | |
parent | c4996ba794d9438be8e472ad5f6c3c55fbf751e8 (diff) | |
download | cpython-3bd844e695c8295c23d64d816bd763543cc9728f.zip cpython-3bd844e695c8295c23d64d816bd763543cc9728f.tar.gz cpython-3bd844e695c8295c23d64d816bd763543cc9728f.tar.bz2 |
Get rid of most of the remaining uses of <>. There's still Tools/* thogh.
Diffstat (limited to 'Doc/ref/ref5.tex')
-rw-r--r-- | Doc/ref/ref5.tex | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex index 52bb57f..34a827c 100644 --- a/Doc/ref/ref5.tex +++ b/Doc/ref/ref5.tex @@ -832,7 +832,7 @@ interpretation that is conventional in mathematics: \production{comparison} {\token{or_expr} ( \token{comp_operator} \token{or_expr} )*} \production{comp_operator} - {"<" | ">" | "==" | ">=" | "<=" | "<>" | "!="} + {"<" | ">" | "==" | ">=" | "<=" | "!="} \productioncont{| "is" ["not"] | ["not"] "in"} \end{productionlist} @@ -854,11 +854,6 @@ Note that \var{a opa b opb c} doesn't imply any kind of comparison between \var{a} and \var{c}, so that, e.g., \code{x < y > z} is perfectly legal (though perhaps not pretty). -The forms \code{<>} and \code{!=} are equivalent; for consistency with -C, \code{!=} is preferred; where \code{!=} is mentioned below -\code{<>} is also accepted. The \code{<>} spelling is considered -obsolescent. - The operators \code{<}, \code{>}, \code{==}, \code{>=}, \code{<=}, and \code{!=} compare the values of two objects. The objects need not have the same type. @@ -1111,7 +1106,7 @@ have the same precedence and chain from left to right --- see section \lineii{\keyword{in}, \keyword{not} \keyword{in}}{Membership tests} \lineii{\keyword{is}, \keyword{is not}}{Identity tests} \lineii{\code{<}, \code{<=}, \code{>}, \code{>=}, - \code{<>}, \code{!=}, \code{==}} + \code{!=}, \code{==}} {Comparisons} \hline \lineii{\code{|}} {Bitwise OR} |