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
(object)
| 503 | return isinstance(object, types.CodeType) |
| 504 | |
| 505 | def isbuiltin(object): |
| 506 | """Return true if the object is a built-in function or method. |
| 507 | |
| 508 | Built-in functions and methods provide these attributes: |
| 509 | __doc__ documentation string |
| 510 | __name__ original name of this function or method |
| 511 | __self__ instance to which a method is bound, or None""" |
| 512 | return isinstance(object, types.BuiltinFunctionType) |
| 513 | |
| 514 | def ismethodwrapper(object): |
| 515 | """Return true if the object is a method wrapper.""" |
no outgoing calls
no test coverage detected