MCPcopy
hub / github.com/python/mypy / endswith

Method endswith

mypyc/test-data/fixtures/ir.py:128–128  ·  view source on GitHub ↗
(self, x: Union[str, Tuple[str, ...]], start: int=..., end: int=...)

Source from the content-addressed store, hash-verified

126 def upper(self) -> str: ...
127 def startswith(self, x: Union[str, Tuple[str, ...]], start: int=..., end: int=...) -> bool: ...
128 def endswith(self, x: Union[str, Tuple[str, ...]], start: int=..., end: int=...) -> bool: ...
129 def replace(self, old: str, new: str, maxcount: int=...) -> str: ...
130 def encode(self, encoding: str=..., errors: str=...) -> bytes: ...
131 def partition(self, sep: str, /) -> Tuple[str, str, str]: ...

Callers 15

run_cmdFunction · 0.45
is_privateFunction · 0.45
is_pyc_onlyFunction · 0.45
argument_elide_nameFunction · 0.45
is_tomlFunction · 0.45
parse_sectionFunction · 0.45
infer_method_ret_typeFunction · 0.45
infer_method_arg_typesFunction · 0.45
is_private_nameMethod · 0.45
clone_for_moduleMethod · 0.45

Calls

no outgoing calls

Tested by 15

run_cmdFunction · 0.36
verify_typeinfoFunction · 0.36
test_using_mypycMethod · 0.36
isdirMethod · 0.36
listdirMethod · 0.36
get_optionsMethod · 0.36
format_triggeredMethod · 0.36
test_parserFunction · 0.36
make_fileMethod · 0.36