@property<EOL><INDENT>def length(self):<DEDENT>
try:<EOL><INDENT>return self.right - self.left<EOL><DEDENT>except TypeError:<EOL><INDENT>msg = ('<STR_LIT>'<EOL>'<STR_LIT>')<EOL>raise TypeError(msg)<EOL><DEDENT>
Return an Index with entries denoting the length of each Interval in
the IntervalArray