(self, x)
Find rightmost bucket less than or equal to x.
Find rightmost bucket less than or equal to x.
Find rightmost bucket less than or equal to x .
def _find_le(self, x):
    """Find rightmost bucket less than or equal to x."""
    i = bisect.bisect_right(self.buckets, x)
    if i:
      return self.buckets[i-1]
    raise ValueError
def _find_le ( self , x ) : i = bisect . bisect_right ( self . buckets , x ) if i : return self . buckets [ i - 1 ] raise ValueError