inspect.ismethod()¶
-
inspect.ismethod(object)[source]¶ Return true if the object is an instance method.
- Instance method objects provide these attributes:
- __doc__ documentation string __name__ name with which this method was defined im_class class object in which this method belongs im_func function object containing implementation of method im_self instance to which this method is bound, or None