betty.nothing module#

The ‘nothing’ type.

final class betty.nothing.Nothing#

Bases: object

A sentinel that describes the absence of a value.

Using this sentinel allows for actual values to be None. Like None, Nothing is only ever used through its type, and never instantiated.

static __new__()#