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

Method removeprefix

mypyc/test-data/fixtures/ir.py:133–133  ·  view source on GitHub ↗
(self, prefix: str, /)

Source from the content-addressed store, hash-verified

131 def partition(self, sep: str, /) -> Tuple[str, str, str]: ...
132 def rpartition(self, sep: str, /) -> Tuple[str, str, str]: ...
133 def removeprefix(self, prefix: str, /) -> str: ...
134 def removesuffix(self, suffix: str, /) -> str: ...
135 def islower(self) -> bool: ...
136 def count(self, substr: str, start: Optional[int] = None, end: Optional[int] = None) -> int: pass

Callers 6

_verify_arg_nameFunction · 0.80
check_test_output_filesFunction · 0.80
mainFunction · 0.80
upload_to_pypiFunction · 0.80
visit_get_attrMethod · 0.80
emit_attribute_errorMethod · 0.80

Calls

no outgoing calls

Tested by 1

_verify_arg_nameFunction · 0.64