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.
This commit is contained in:
Fred Drake 2000-10-06 19:39:47 +00:00
parent cc773d3b11
commit d88d0a1d5b
2 changed files with 3 additions and 3 deletions

View File

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

View File

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