diff options
author | Fred Drake <fdrake@acm.org> | 1999-06-15 20:56:40 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-06-15 20:56:40 (GMT) |
commit | e55702b024bbb6bc73cf90c22a4d1b5ca4fbc721 (patch) | |
tree | 8b24f0c7d479fa959289d90eee09c08320937d9e /Doc | |
parent | 47ac4e6b4103ab0022737f93f90fa4e739a7de20 (diff) | |
download | cpython-e55702b024bbb6bc73cf90c22a4d1b5ca4fbc721.zip cpython-e55702b024bbb6bc73cf90c22a4d1b5ca4fbc721.tar.gz cpython-e55702b024bbb6bc73cf90c22a4d1b5ca4fbc721.tar.bz2 |
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.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/liboperator.tex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/lib/liboperator.tex b/Doc/lib/liboperator.tex index c329009..608f101 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} |