File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -420,10 +420,10 @@ \section{The standard type hierarchy\label{types}}
420420instance, when \code {C} is a class which contains a definition for a
421421function \code {f}, \code {C.f} does not yield the function object
422422\code {f}; rather, it yields an unbound method object \code {m} where
423- \code {m.im_class} is \code {C}, \code {m.im_function } is \code {f}, and
423+ \code {m.im_class} is \code {C}, \code {m.im_func } is \code {f}, and
424424m\code {.im_self} is \code {None}. When \code {x} is a \code {C}
425425instance, \code {x.f} yields a bound method object \code {m} where
426- m\code {.im_class} is \code {C}, \code {m.im_function } is \code {f}, and
426+ m\code {.im_class} is \code {C}, \code {m.im_func } is \code {f}, and
427427\code {m.im_self} is \code {x}.
428428
429429When an unbound user-defined method object is called, the underlying
You can’t perform that action at this time.
0 commit comments