MCPcopy Index your code
hub / github.com/python/mypy / find

Method find

mypyc/test-data/fixtures/ir.py:115–115  ·  view source on GitHub ↗
(self, sub: str, start: Optional[int] = None, end: Optional[int] = None, /)

Source from the content-addressed store, hash-verified

113 def __contains__(self, item: str) -> bool: pass
114 def __iter__(self) -> Iterator[str]: ...
115 def find(self, sub: str, start: Optional[int] = None, end: Optional[int] = None, /) -> int: ...
116 def rfind(self, sub: str, start: Optional[int] = None, end: Optional[int] = None, /) -> int: ...
117 def split(self, sep: Optional[str] = None, maxsplit: int = -1) -> List[str]: pass
118 def rsplit(self, sep: Optional[str] = None, maxsplit: int = -1) -> List[str]: pass

Callers 3

lookup_fully_qualifiedFunction · 0.80
formatMethod · 0.80
replace_word_sizeFunction · 0.80

Calls

no outgoing calls

Tested by 1

replace_word_sizeFunction · 0.64