Module Index

Constructor

Class: Lesser

The Lesser predicate. This will evaluate to true if the first operand is less than the second.

Constructor

__init__ (self, lop, rop)

Constructor. Initialize the base Predicate class.

Methods

invoke_operators (self)

This method returns a tuple containing the operators used in the predicate evaluation. If any of the specified operators are callable, an attempt is made to use the return value of invoking the operator instead of the operator itself.