Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 70da192

Browse files
committed
im_function --> im_func
1 parent 60c3caf commit 70da192

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/ref/ref3.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,10 +420,10 @@ \section{The standard type hierarchy\label{types}}
420420
instance, when \code{C} is a class which contains a definition for a
421421
function \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
424424
m\code{.im_self} is \code{None}. When \code{x} is a \code{C}
425425
instance, \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

429429
When an unbound user-defined method object is called, the underlying

0 commit comments

Comments
 (0)