diff options
author | Fred Drake <fdrake@acm.org> | 1998-08-07 16:28:13 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-08-07 16:28:13 (GMT) |
commit | 70da192f63ee2dc38d26ba91782bfc1411f0ff9a (patch) | |
tree | 3cbe9bdf39afb18707b7dae56ace14df213880f2 | |
parent | 60c3cafc24a509c2fcab5070ecb955d93be3b8da (diff) | |
download | cpython-70da192f63ee2dc38d26ba91782bfc1411f0ff9a.zip cpython-70da192f63ee2dc38d26ba91782bfc1411f0ff9a.tar.gz cpython-70da192f63ee2dc38d26ba91782bfc1411f0ff9a.tar.bz2 |
im_function --> im_func
-rw-r--r-- | Doc/ref/ref3.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex index 91ce104..28d9e0e 100644 --- a/Doc/ref/ref3.tex +++ b/Doc/ref/ref3.tex @@ -420,10 +420,10 @@ is the instance, and the method object is said to be bound. For instance, when \code{C} is a class which contains a definition for a function \code{f}, \code{C.f} does not yield the function object \code{f}; rather, it yields an unbound method object \code{m} where -\code{m.im_class} is \code{C}, \code{m.im_function} is \code{f}, and +\code{m.im_class} is \code{C}, \code{m.im_func} is \code{f}, and m\code{.im_self} is \code{None}. When \code{x} is a \code{C} instance, \code{x.f} yields a bound method object \code{m} where -m\code{.im_class} is \code{C}, \code{m.im_function} is \code{f}, and +m\code{.im_class} is \code{C}, \code{m.im_func} is \code{f}, and \code{m.im_self} is \code{x}. When an unbound user-defined method object is called, the underlying |