ID EN
Built-in Functions

callable

Python 3.11

Return True if the object argument appears callable, False if not. If this returns True, it is still possible that a call fails, but if it is False, calling object will never succeed. Note that classes are callable (calling a class returns a new instance); instances are callable if their class has a __call__() method.

Syntax

PYTHON
callable(object)

See Also

True False __call__()