def __repr__(self) -> str:
        """
        Returns the canonical string representation of the object.
        """
        return (
            "IntervalList(intervals={}, no_overlap={}, "
            "no_contiguous={})".format(
                repr(self.intervals),
                self.no_overlap,
                self.no_contiguous))
def __repr__ ( self ) -> str : return ( "IntervalList(intervals={}, no_overlap={}, " "no_contiguous={})" . format ( repr ( self . intervals ) , self . no_overlap , self . no_contiguous ) )
Returns the canonical string representation of the object.