Commit e55702b0 authored by Fred Drake's avatar Fred Drake

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.
parent 47ac4e6b
...@@ -86,7 +86,9 @@ Return the bitwise exclusive or of \var{a} and \var{b}. ...@@ -86,7 +86,9 @@ Return the bitwise exclusive or of \var{a} and \var{b}.
\begin{funcdesc}{not_}{o} \begin{funcdesc}{not_}{o}
\funcline{__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} \end{funcdesc}
\begin{funcdesc}{truth}{o} \begin{funcdesc}{truth}{o}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment