intiocean/pyinter — pull request #5 by ale-rt (2013-10-31 15:10:47+00:00)
Title: Add magic methods for evaluating length and truth of an IntervalSet instance

Those are magic methods I thought were missing:
* __len__ to get the number of elements in the IntervalSet
* __nonzero__ to get the boolean value of an IntervalSet