Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 24b8881

Browse files
committed
Patch #701395: Correct documentation of PyUnicode_Splitlines.
1 parent 12a7f96 commit 24b8881

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Doc/api/concrete.tex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,10 +1319,11 @@ \subsubsection{Methods and Slot Functions \label{unicodeMethodsAndSlots}}
13191319
\end{cfuncdesc}
13201320

13211321
\begin{cfuncdesc}{PyObject*}{PyUnicode_Splitlines}{PyObject *s,
1322-
int maxsplit}
1322+
int keepend}
13231323
Split a Unicode string at line breaks, returning a list of Unicode
1324-
strings. CRLF is considered to be one line break. The Line break
1325-
characters are not included in the resulting strings.
1324+
strings. CRLF is considered to be one line break. If \var{keepend}
1325+
is 0, the Line break characters are not included in the resulting
1326+
strings.
13261327
\end{cfuncdesc}
13271328

13281329
\begin{cfuncdesc}{PyObject*}{PyUnicode_Translate}{PyObject *str,

0 commit comments

Comments
 (0)