interval module#
Interval arithmetic for ranges#
This module provides the Interval class for representing ranges of values that can be bounded or unbounded on either end.
- class Interval(lo=None, hi=None)[source]#
Interval Type for defining inclusive ranges of values, supporting infinite intervals. An interval may be bounded or unbounded on either end.