MCPcopy Index your code
hub / github.com/RustPython/RustPython / rfind

Method rfind

Lib/collections/__init__.py:1563–1566  ·  view source on GitHub ↗
(self, sub, start=0, end=_sys.maxsize)

Source from the content-addressed store, hash-verified

1561 return self.__class__(self.data.replace(old, new, maxsplit))
1562
1563 def rfind(self, sub, start=0, end=_sys.maxsize):
1564 if isinstance(sub, UserString):
1565 sub = sub.data
1566 return self.data.rfind(sub, start, end)
1567
1568 def rindex(self, sub, start=0, end=_sys.maxsize):
1569 if isinstance(sub, UserString):

Callers 15

determine_parentMethod · 0.45
any_missing_maybeMethod · 0.45
render_docFunction · 0.45
_strip_exception_detailsFunction · 0.45
_splitextFunction · 0.45
connectMethod · 0.45
do_breakMethod · 0.45
do_clearMethod · 0.45
splitFunction · 0.45
basenameFunction · 0.45
dirnameFunction · 0.45
_readmoduleFunction · 0.45

Calls 1

isinstanceFunction · 0.85

Tested by 8

_strip_exception_detailsFunction · 0.36
test_rfindMethod · 0.36
test_rfindMethod · 0.36
test_none_argumentsMethod · 0.36
test_rfindMethod · 0.36
_setUpMethod · 0.36
test_rfindMethod · 0.36
handleMethod · 0.36