Runtime Types

types.NoneType — runtime type

Public name for the type of None, whose only instance is the corresponding singleton. Use identity with None to distinguish missing values from False or zero. Calling the type with no arguments returns that singleton in CPython 3.13.

Formal Syntax & Structure

python syntaxpython
types.NoneType

Return Value

type

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

Working Example

Example Snippetpython
import typesvalue = Noneprint(isinstance(value, types.NoneType))
Python Reference