From: Martin v. Löwis Date: Sun, 30 Mar 2003 16:40:42 +0000 (+0000) Subject: Patch #701395: Correct documentation of PyUnicode_Splitlines. X-Git-Tag: v2.3c1~1325 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24b8881f6174205c0060bdbfb77536208431ed79;p=python Patch #701395: Correct documentation of PyUnicode_Splitlines. --- diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index 03f77b6fa0..48c44b1777 100644 --- a/Doc/api/concrete.tex +++ b/Doc/api/concrete.tex @@ -1319,10 +1319,11 @@ They all return \NULL{} or \code{-1} if an exception occurs. \end{cfuncdesc} \begin{cfuncdesc}{PyObject*}{PyUnicode_Splitlines}{PyObject *s, - int maxsplit} + int keepend} Split a Unicode string at line breaks, returning a list of Unicode - strings. CRLF is considered to be one line break. The Line break - characters are not included in the resulting strings. + strings. CRLF is considered to be one line break. If \var{keepend} + is 0, the Line break characters are not included in the resulting + strings. \end{cfuncdesc} \begin{cfuncdesc}{PyObject*}{PyUnicode_Translate}{PyObject *str,