Collection Interface ABCs
collections.abc.Callable
Objects recognized as implementing __call__, such as functions and callable instances. This ABC does not verify their argument signatures.
Formal Syntax & Structure
python syntaxpython
collections.abc.CallableReturn Value
type
Abstract base class object representing the described interface; use it for recognition or inheritance.
Working Example
Example Snippetpython
import collections.abcprint(isinstance(len,collections.abc.Callable))