Skip to content

IntervalSet should take *args instead of needing an iterable to be passed in #4

Description

@intiocean

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions