MCPcopy
hub / github.com/numpy/numpy / splitlines

Method splitlines

numpy/_core/defchararray.py:1096–1106  ·  view source on GitHub ↗

For each element in `self`, return a list of the lines in the element, breaking at line boundaries. See Also -------- char.splitlines

(self, keepends=None)

Source from the content-addressed store, hash-verified

1094 return split(self, sep, maxsplit)
1095
1096 def splitlines(self, keepends=None):
1097 """
1098 For each element in `self`, return a list of the lines in the
1099 element, breaking at line boundaries.
1100
1101 See Also
1102 --------
1103 char.splitlines
1104
1105 """
1106 return splitlines(self, keepends)
1107
1108 def startswith(self, prefix, start=0, end=None):
1109 """

Callers 9

find_namesFunction · 0.80
validate_rst_syntaxFunction · 0.80
_extendLine_prettyFunction · 0.80
test_splitlinesMethod · 0.80
test_debug_printFunction · 0.80
test_binary_loadMethod · 0.80
isolate_expressionFunction · 0.80
build_err_msgFunction · 0.80
assert_string_equalFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_splitlinesMethod · 0.64
test_debug_printFunction · 0.64
test_binary_loadMethod · 0.64