MCPcopy Index your code
hub / github.com/python/cpython / rindex

Method rindex

Lib/test/test_bytes.py:2655–2659  ·  view source on GitHub ↗
(b, a)

Source from the content-addressed store, hash-verified

2653 assert a.rfind(b'\xdd') == -1
2654
2655 def rindex(b, a):
2656 b.wait()
2657 try: a.rindex(b'\xdd')
2658 except ValueError: return
2659 assert False
2660
2661 def rpartition(b, a):
2662 b.wait()

Callers 9

test_rindexMethod · 0.45
test_str_operationsMethod · 0.45
test_rindexMethod · 0.45
test_none_argumentsMethod · 0.45
test_rindexMethod · 0.45
test_huge_str_32bMethod · 0.45
test_huge_str_64bMethod · 0.45
test_inheritanceMethod · 0.45
__init__Method · 0.45

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected