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

Method splitlines

mypyc/test-data/fixtures/ir.py:119–119  ·  view source on GitHub ↗
(self, keepends: bool = False)

Source from the content-addressed store, hash-verified

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
121 def lstrip(self, item: Optional[str] = None) -> str: pass
122 def rstrip(self, item: Optional[str] = None) -> str: pass

Callers 15

note_multilineMethod · 0.80
read_py_fileFunction · 0.80
note_multilineMethod · 0.80
_indent_docstringMethod · 0.80
generate_class_stubMethod · 0.80
run_checkMethod · 0.80
test_output_jsonFunction · 0.80
test_python_evaluationFunction · 0.80
run_caseMethod · 0.80
dump_astsMethod · 0.80
dump_typeinfoMethod · 0.80

Calls

no outgoing calls

Tested by 15

run_checkMethod · 0.64
test_output_jsonFunction · 0.64
test_python_evaluationFunction · 0.64
run_caseMethod · 0.64
dump_astsMethod · 0.64
dump_typeinfoMethod · 0.64
test_pep561Function · 0.64
add_fileMethod · 0.64