Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e55702b

Browse files
committed
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.
1 parent 47ac4e6 commit e55702b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Doc/lib/liboperator.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ \section{\module{operator} ---
8686

8787
\begin{funcdesc}{not_}{o}
8888
\funcline{__not__}{o}
89-
Return the outcome of \keyword{not} \var{o}.
89+
Return the outcome of \keyword{not} \var{o}. (Note that there is no
90+
\method{__not__()} discipline for object instances; only the
91+
interpreter core defines this operation.)
9092
\end{funcdesc}
9193

9294
\begin{funcdesc}{truth}{o}

0 commit comments

Comments
 (0)