]> granicus.if.org Git - python/commitdiff
Patch #701395: Correct documentation of PyUnicode_Splitlines.
authorMartin v. Löwis <martin@v.loewis.de>
Sun, 30 Mar 2003 16:40:42 +0000 (16:40 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sun, 30 Mar 2003 16:40:42 +0000 (16:40 +0000)
Doc/api/concrete.tex

index 03f77b6fa071f2931f2fde56676e1f9cebd30f5a..48c44b17775818b761e25a9e586b59f347b2a5c6 100644 (file)
@@ -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,