From 24b8881f6174205c0060bdbfb77536208431ed79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 30 Mar 2003 16:40:42 +0000 Subject: Patch #701395: Correct documentation of PyUnicode_Splitlines. --- Doc/api/concrete.tex | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index 03f77b6..48c44b1 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, -- cgit v0.12