diff Doc/lib/liboperator.tex @ 10991:46a56177322e legacy-trunk

Added note to __not__() description that this operation is defined only by the interpreter core and is not overridable by objects. Based on comment from David Ascher on the list.
author Fred Drake <fdrake@acm.org>
date Tue, 15 Jun 1999 20:56:40 +0000
parents acfffe14628e
children 0228914e0c5f
line wrap: on
line diff
--- a/Doc/lib/liboperator.tex	Tue Jun 15 18:56:46 1999 +0000
+++ b/Doc/lib/liboperator.tex	Tue Jun 15 20:56:40 1999 +0000
@@ -86,7 +86,9 @@
 
 \begin{funcdesc}{not_}{o}
 \funcline{__not__}{o}
-Return the outcome of \keyword{not} \var{o}.
+Return the outcome of \keyword{not} \var{o}.  (Note that there is no
+\method{__not__()} discipline for object instances; only the
+interpreter core defines this operation.)
 \end{funcdesc}
 
 \begin{funcdesc}{truth}{o}