MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / isbuiltin

Function isbuiltin

tools/python-3.11.9-amd64/Lib/inspect.py:505–512  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

503 return isinstance(object, types.CodeType)
504
505def 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
514def ismethodwrapper(object):
515 """Return true if the object is a method wrapper."""

Callers 3

isroutineFunction · 0.85
_finddocFunction · 0.85
_signature_is_builtinFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected