def proper_subset(self, other):
        "@return: True iff self is proper subset of other."
        return self.start > other.start and self.end < other.end
@return: True iff self is proper subset of other.
recipes/Python/576816_Interval/recipe-576816.py