(self, index: Optional[int])
return (index, breakpoint, value)
Helper function for computing breakpoint information

        :param index: index of the breakpoint to compute
        :returns: (index, breakpoint, value)
          * index is the breakpoint index (if it exists), or None if we're off the end
          * breakpoint is the x-value of the breakpoint, or None if we're off the end
          * value is f(breakpoint), or f(last_breakpoint) if we're off the end
Helper function for computing breakpoint information
Helper function for computing breakpoint information
def _breakpoint_info(self, index: Optional[int]) -> Tuple[Optional[int], Optional[XValue[T]], float]:
        """ Helper function for computing breakpoint information

        :param index: index of the breakpoint to compute
        :returns: (index, breakpoint, value)
          * index is the breakpoint index (if it exists), or None if we're off the end
          * breakpoint is the x-value of the breakpoint, or None if we're off the end
          * value is f(breakpoint), or f(last_breakpoint) if we're off the end
        """
        try:
            breakpoint, value = self.breakpoints.peekitem(index)
        except IndexError:
            index = None
            breakpoint, value = None, self.breakpoints.values()[-1]
        return (index, breakpoint, value)
def _breakpoint_info ( self , index : Optional [ int ] ) -> Tuple [ Optional [ int ] , Optional [ XValue [ T ] ] , float ] : try : breakpoint , value = self . breakpoints . peekitem ( index ) except IndexError : index = None breakpoint , value = None , self . breakpoints . values ( ) [ - 1 ] return ( index , breakpoint , value )