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

Method startswith

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

Source from the content-addressed store, hash-verified

125 def lower(self) -> str: ...
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: ...

Callers 15

setup.pyFile · 0.45
check_default_paramsMethod · 0.45
warn_deprecatedMethod · 0.45
is_privateFunction · 0.45
argument_elide_nameFunction · 0.45
visit_call_expr_innerMethod · 0.45
bind_selfFunction · 0.45
custom_special_methodFunction · 0.45
parse_config_fileFunction · 0.45
parse_sectionFunction · 0.45
common_dir_prefixFunction · 0.45
visit_unbound_typeMethod · 0.45

Calls

no outgoing calls

Tested by 15

verify_typeinfoFunction · 0.36
names_approx_matchFunction · 0.36
_verify_signatureFunction · 0.36
_is_private_parameterFunction · 0.36
is_probably_privateFunction · 0.36
run_caseMethod · 0.36
isdirMethod · 0.36
listdirMethod · 0.36
test_output_jsonFunction · 0.36