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

Method split

mypyc/test-data/fixtures/ir.py:117–117  ·  view source on GitHub ↗
(self, sep: Optional[str] = None, maxsplit: int = -1)

Source from the content-addressed store, hash-verified

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
119 def splitlines(self, keepends: bool = False) -> List[str]: ...
120 def strip (self, item: Optional[str] = None) -> str: pass

Callers 15

visit_importMethod · 0.80
lookup_qualifiedMethod · 0.80
check_enum_callMethod · 0.80
parse_enum_call_argsMethod · 0.80
is_operator_methodFunction · 0.80
try_splitFunction · 0.80
split_commasFunction · 0.80
config_parser.pyFile · 0.80
parse_config_fileFunction · 0.80
get_prefixFunction · 0.80
parse_mypy_commentsFunction · 0.80

Calls

no outgoing calls

Tested by 15

test_moduleFunction · 0.64
exists_in_versionFunction · 0.64
test_semanalFunction · 0.64
run_caseMethod · 0.64
run_caseMethod · 0.64
dumpMethod · 0.64
listdirMethod · 0.64
parse_sourcesMethod · 0.64
maybe_suggestMethod · 0.64
maybe_inspectMethod · 0.64
test_output_jsonFunction · 0.64
test_python_evaluationFunction · 0.64