summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-03-30 16:40:42 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-03-30 16:40:42 (GMT)
commit24b8881f6174205c0060bdbfb77536208431ed79 (patch)
treeb4c67eb95a202f6e805139eb8edaf89af42384f1 /Doc
parent12a7f96aecbb8ed9c94c8f8f8b6201e9ee2e3478 (diff)
downloadcpython-24b8881f6174205c0060bdbfb77536208431ed79.zip
cpython-24b8881f6174205c0060bdbfb77536208431ed79.tar.gz
cpython-24b8881f6174205c0060bdbfb77536208431ed79.tar.bz2
Patch #701395: Correct documentation of PyUnicode_Splitlines.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/api/concrete.tex7
1 files 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,