summaryrefslogtreecommitdiffstats
path: root/Doc/ref
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-07-17 14:47:12 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-07-17 14:47:12 (GMT)
commit943277ecd34bb76fe8f097a508f995f7bf1e4b45 (patch)
treef05171f5c63ae928dc7e60bfff66b9cea117ace9 /Doc/ref
parente9a92aa03ac91c307a90db8eefff22cea1b97399 (diff)
downloadcpython-943277ecd34bb76fe8f097a508f995f7bf1e4b45.zip
cpython-943277ecd34bb76fe8f097a508f995f7bf1e4b45.tar.gz
cpython-943277ecd34bb76fe8f097a508f995f7bf1e4b45.tar.bz2
Minor corrections.
Diffstat (limited to 'Doc/ref')
-rw-r--r--Doc/ref/ref3.tex2
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.