It makes the use of it nicer. You can then do something like this:
IntervalSet(interval1, interval2, interval3, ...)
Instead of having to make a list out of your items before passing them in
IntervalSet([interval1, interval2, interval3])
The reason it was created in this way to start with was to match the Python inbuilt set initialisation but I don't think it needs to match.
It makes the use of it nicer. You can then do something like this:
IntervalSet(interval1, interval2, interval3, ...)Instead of having to make a list out of your items before passing them in
IntervalSet([interval1, interval2, interval3])The reason it was created in this way to start with was to match the Python inbuilt set initialisation but I don't think it needs to match.