User-defined methods *can* contain things other than user-defined functions

as the callable, so use more flexible language.
This commit is contained in:
Fred Drake 2001-08-02 21:34:53 +00:00
parent 51629c245a
commit 8dd6ffd0ec

View file

@ -446,7 +446,8 @@ unless nested scopes are enabled. (See the appendix.)
\item[User-defined methods] \item[User-defined methods]
A user-defined method object combines a class, a class instance (or A user-defined method object combines a class, a class instance (or
\code{None}) and a user-defined function. \code{None}) and any callable object (normally a user-defined
function).
\obindex{method} \obindex{method}
\obindex{user-defined method} \obindex{user-defined method}
\indexii{user-defined}{method} \indexii{user-defined}{method}