mirror of
https://github.com/python/cpython.git
synced 2025-11-27 13:45:25 +00:00
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:
parent
cc773d3b11
commit
d88d0a1d5b
2 changed files with 3 additions and 3 deletions
|
|
@ -93,6 +93,6 @@ argument and the memo dictionary as second argument.
|
||||||
\withsubitem{(copy protocol)}{\ttindex{__copy__()}\ttindex{__deepcopy__()}}
|
\withsubitem{(copy protocol)}{\ttindex{__copy__()}\ttindex{__deepcopy__()}}
|
||||||
|
|
||||||
\begin{seealso}
|
\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.}
|
support object state retrieval and restoration.}
|
||||||
\end{seealso}
|
\end{seealso}
|
||||||
|
|
|
||||||
|
|
@ -89,8 +89,8 @@ 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}. (Note that there is no
|
Return the outcome of \keyword{not} \var{o}. (Note that there is no
|
||||||
\method{__not__()} discipline for object instances; only the
|
\method{__not__()} method for object instances; only the interpreter
|
||||||
interpreter core defines this operation.)
|
core defines this operation.)
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{truth}{o}
|
\begin{funcdesc}{truth}{o}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue