pyre.constraints.Between¶
Module Contents¶
-
class
pyre.constraints.Between.Between(low, high, **kwds)¶ Bases:
pyre.constraints.Constraint.ConstraintGiven {a} and {b} from a set with an ordering principle, this constraint is satisfied if the candidate is in {(a,b)}
-
validate(self, value, **kwds)¶ Check whether {candidate} satisfies this constraint
-
__str__(self)¶
-