mirror of
https://github.com/python/cpython
synced 2024-10-08 21:20:05 +00:00
Patch #701395: Correct documentation of PyUnicode_Splitlines.
This commit is contained in:
parent
12a7f96aec
commit
24b8881f61
|
@ -1319,10 +1319,11 @@ They all return \NULL{} or \code{-1} if an exception occurs.
|
||||||
\end{cfuncdesc}
|
\end{cfuncdesc}
|
||||||
|
|
||||||
\begin{cfuncdesc}{PyObject*}{PyUnicode_Splitlines}{PyObject *s,
|
\begin{cfuncdesc}{PyObject*}{PyUnicode_Splitlines}{PyObject *s,
|
||||||
int maxsplit}
|
int keepend}
|
||||||
Split a Unicode string at line breaks, returning a list of Unicode
|
Split a Unicode string at line breaks, returning a list of Unicode
|
||||||
strings. CRLF is considered to be one line break. The Line break
|
strings. CRLF is considered to be one line break. If \var{keepend}
|
||||||
characters are not included in the resulting strings.
|
is 0, the Line break characters are not included in the resulting
|
||||||
|
strings.
|
||||||
\end{cfuncdesc}
|
\end{cfuncdesc}
|
||||||
|
|
||||||
\begin{cfuncdesc}{PyObject*}{PyUnicode_Translate}{PyObject *str,
|
\begin{cfuncdesc}{PyObject*}{PyUnicode_Translate}{PyObject *str,
|
||||||
|
|
Loading…
Reference in a new issue