MCPcopy Create free account
hub / github.com/numpy/numpy / splitlines

Method splitlines

numpy/core/defchararray.py:2606–2616  ·  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

2604 return split(self, sep, maxsplit)
2605
2606 def splitlines(self, keepends=None):
2607 """
2608 For each element in `self`, return a list of the lines in the
2609 element, breaking at line boundaries.
2610
2611 See Also
2612 --------
2613 char.splitlines
2614
2615 """
2616 return splitlines(self, keepends)
2617
2618 def startswith(self, prefix, start=0, end=None):
2619 """

Callers 13

check_submodulesFunction · 0.80
find_namesFunction · 0.80
validate_rst_syntaxFunction · 0.80
isolate_expressionFunction · 0.80
_extendLine_prettyFunction · 0.80
test_splitlinesMethod · 0.80
test_debug_printFunction · 0.80
test_binary_loadMethod · 0.80
command_by_lineFunction · 0.80
test_log_prefixFunction · 0.80
build_err_msgFunction · 0.80

Calls 1

splitlinesFunction · 0.85

Tested by 4

test_splitlinesMethod · 0.64
test_debug_printFunction · 0.64
test_binary_loadMethod · 0.64
test_log_prefixFunction · 0.64