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 __func__ function object containing implementation of method
(object)
| 298 | return isinstance(object, type) |
| 299 | |
| 300 | def ismethod(object): |
| 301 | """Return true if the object is an instance method. |
| 302 | |
| 303 | Instance method objects provide these attributes: |
| 304 | __doc__ documentation string |
| 305 | __name__ name with which this method was defined |
| 306 | __func__ function object containing implementation of method |
| 307 | __self__ instance to which this method is bound""" |
| 308 | return isinstance(object, types.MethodType) |
| 309 | |
| 310 | def ismethoddescriptor(object): |
| 311 | """Return true if the object is a method descriptor. |
no outgoing calls
no test coverage detected