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.
This commit is contained in:
Fred Drake 1999-06-15 20:56:40 +00:00
parent 47ac4e6b41
commit e55702b024
1 changed files with 3 additions and 1 deletions

View File

@ -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}