Runtime Types

types.NotImplementedType — runtime type

Public name for the type of NotImplemented, whose only instance is the corresponding singleton. Use identity to detect an unsupported operation; it is not an exception. Do not truth-test it: 3.13 deprecates that behavior. Calling the type with no arguments returns that singleton in CPython 3.13.

Formal Syntax & Structure

python syntaxpython
types.NotImplementedType

Return Value

type

The class object types.NotImplementedType; this reference documents the class identity, not a universal constructor signature.

Working Example

Example Snippetpython
import typesvalue = NotImplementedprint(isinstance(value, types.NotImplementedType))
Python Reference