diff options
Diffstat (limited to 'Doc/ref/ref3.tex')
-rw-r--r-- | Doc/ref/ref3.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex index 771067d..98618f1 100644 --- a/Doc/ref/ref3.tex +++ b/Doc/ref/ref3.tex @@ -1150,7 +1150,7 @@ a Boolean value, else a \exception{TypeError} will be raised. By convention, \code{False} is used for false and \code{True} for true. There are no implied relationships among the comparison operators. -The truth of {\var{x}==\var{y}} does not imply that \code{\var{x}!=\var{y}} +The truth of \code{\var{x}==\var{y}} does not imply that \code{\var{x}!=\var{y}} is false. Accordingly, when defining \method{__eq__}, one should also define \method{__ne__} so that the operators will behave as expected. |