code: def from_tuples(cls, tups):
          
          ivs = [Interval(*t) for t in tups]
          return IntervalTree(ivs)
docs: Create a new IntervalTree from an iterable of 2- or 3-tuples,
           where the tuple lists begin, end, and optionally data.