Returns a new tree, comprising all intervals from self and other.
(self, other)
| 417 | self.discard(iv) |
| 418 | |
| 419 | def union(self, other): |
| 420 | """ |
| 421 | Returns a new tree, comprising all intervals from self |
| 422 | and other. |
| 423 | """ |
| 424 | return IntervalTree(set(self).union(other)) |
| 425 | |
| 426 | def intersection(self, other): |
| 427 | """ |