NullTemplate

Labs

class NullTemplate

Description

The null expression: the template form of null (and of ()).

It carries nothing, so every instance is equal; NULL is the one to use. It is not Python’s None: in a constructor, equals=None means no value at all, where equals=NULL writes the KerML null.

Members inherited from ExpressionTemplate (13 members)

__add__

__bool__

Raise: a template is an expression tree, not a truth value.

__mod__

__mul__

__neg__

__pos__

__radd__

__rmod__

__rmul__

__rsub__

__rtruediv__

__sub__

__truediv__