parameters: (a, l, x)
docstring: Locate the rightmost value exactly equal to x
docstring_summary: Locate the rightmost value exactly equal to x
docstring_tokens: Locate the rightmost value exactly equal to x
function: def _find_rteq(a, l, x):
      'Locate the rightmost value exactly equal to x'
      i = bisect_right(a, x, lo=l)
      if i != (len(a) + 1) and a[i - 1] == x:
          return i - 1
      raise ValueError
function_tokens: def _find_rteq ( a , l , x ) : i = bisect_right ( a , x , lo = l ) if i != ( len ( a ) + 1 ) and a [ i - 1 ] == x : return i - 1 raise ValueError