PyUnicode_Splitlines

Ditto PyUnicode_Split, but split at line breaks.

CRLF is considered to be one line break. Line breaks are not included in the resulting list.

  1. PyObject* PyUnicode_Splitlines(PyObject* s, int keepends)
    version(Python_3_3_Or_Later)
    PyUnicode_Splitlines
  2. alias PyUnicode_Splitlines = PyUnicodeUCS2_Splitlines
  3. alias PyUnicode_Splitlines = PyUnicodeUCS4_Splitlines

Meta