Return true if the object is a built-in function or method. Built-in functions and methods provide these attributes: __doc__ documentation string __name__ original name of this function or method __self__ instance to which a method is bound, or None
(object)
| 430 | return isinstance(object, types.CodeType) |
| 431 | |
| 432 | def isbuiltin(object): |
| 433 | """Return true if the object is a built-in function or method. |
| 434 | |
| 435 | Built-in functions and methods provide these attributes: |
| 436 | __doc__ documentation string |
| 437 | __name__ original name of this function or method |
| 438 | __self__ instance to which a method is bound, or None""" |
| 439 | return isinstance(object, types.BuiltinFunctionType) |
| 440 | |
| 441 | def ismethodwrapper(object): |
| 442 | """Return true if the object is a method wrapper.""" |
no outgoing calls
no test coverage detected
searching dependent graphs…