types.MethodType

types.MethodType

alias of instancemethod

Attributes

im_class the class associated with a method
im_func the function (or other callable) implementing a method
im_self the instance to which a method is bound; None for unbound methods