MCPcopy Index your code
hub / github.com/numpy/numpy / rindex

Method rindex

numpy/_core/defchararray.py:1026–1036  ·  view source on GitHub ↗

Like `rfind`, but raises :exc:`ValueError` when the substring `sub` is not found. See Also -------- char.rindex

(self, sub, start=0, end=None)

Source from the content-addressed store, hash-verified

1024 return rfind(self, sub, start, end)
1025
1026 def rindex(self, sub, start=0, end=None):
1027 """
1028 Like `rfind`, but raises :exc:`ValueError` when the substring `sub` is
1029 not found.
1030
1031 See Also
1032 --------
1033 char.rindex
1034
1035 """
1036 return rindex(self, sub, start, end)
1037
1038 def rjust(self, width, fillchar=' '):
1039 """

Callers 4

failMethod · 0.80
test_rindexMethod · 0.80
test_rindexMethod · 0.80
test_rindex_raisesMethod · 0.80

Calls 1

rindexFunction · 0.85

Tested by 4

failMethod · 0.64
test_rindexMethod · 0.64
test_rindexMethod · 0.64
test_rindex_raisesMethod · 0.64