ID EN
Built-in Exceptions

TypeError

Python 3.11

Raised when an operation or function is applied to an object of inappropriate type. The associated value is a string giving details about the type mismatch.

Syntax

PYTHON
exception TypeError

See Also

NotImplementedError list int TypeError ValueError