Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_rindex
Method · 0.45
test_str_operations
Method · 0.45
test_rindex
Method · 0.45
test_none_arguments
Method · 0.45
test_rindex
Method · 0.45
test_huge_str_32b
Method · 0.45
test_huge_str_64b
Method · 0.45
test_inheritance
Method · 0.45
__init__
Method · 0.45
Calls
1
wait
Method · 0.45
Tested by
no test coverage detected