A sentinel object used to indicate that a type parameter has no default value. For example:
>>> T = TypeVar("T") >>> T.__default__ is typing.NoDefault True >>> S = TypeVar("S", default=None) >>> S.__default__ is None True
typing/NoDefault
NoDefault