Commit 3195ba80 authored by Fred Drake's avatar Fred Drake

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

as the callable, so use more flexible language.
parent d37297b9
...@@ -446,7 +446,8 @@ unless nested scopes are enabled. (See the appendix.) ...@@ -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}
......
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