From: Fred Drake Date: Tue, 15 Jun 1999 20:56:40 +0000 (+0000) Subject: Added note to __not__() description that this operation is defined X-Git-Tag: v1.6a1~1215 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e55702b024bbb6bc73cf90c22a4d1b5ca4fbc721;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Doc/lib/liboperator.tex b/Doc/lib/liboperator.tex index c32900915ab8..608f1015dffa 100644 --- a/Doc/lib/liboperator.tex +++ b/Doc/lib/liboperator.tex @@ -86,7 +86,9 @@ Return the bitwise exclusive or of \var{a} and \var{b}. \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}