Next: Type Objects Prev: Functions Up: Other Built-in Types Top: Top
append()
on
lists) and class instance methods. Built-in methods are described
with the types that support them.
The implementation adds two special read-only attributes to class
instance methods: m.im_self
is the object whose method this
is, and m.im_func
is the function implementing the method.
Calling m(arg-1, arg-2,
is completely equivalent to calling
m.im_func(m.im_self, arg-1, arg-2,
.
(See the Python Reference Manual for more info.)