Commit d88d0a1d authored by Fred Drake's avatar Fred Drake

It turns out that Guido does not like or encourage the use of the term

"disciplines" for the __*__() methods, so they should be referred to as
"methods" or "special methods", as appropriate in context.
parent cc773d3b
......@@ -93,6 +93,6 @@ argument and the memo dictionary as second argument.
\withsubitem{(copy protocol)}{\ttindex{__copy__()}\ttindex{__deepcopy__()}}
\begin{seealso}
\seemodule{pickle}{Discussion of the special disciplines used to
\seemodule{pickle}{Discussion of the special mmethds used to
support object state retrieval and restoration.}
\end{seealso}
......@@ -89,8 +89,8 @@ 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}. (Note that there is no
\method{__not__()} discipline for object instances; only the
interpreter core defines this operation.)
\method{__not__()} method for object instances; only the interpreter
core defines this operation.)
\end{funcdesc}
\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