Skip to content

Commit 0b2d9bb

Browse files
committed
Add newlines
1 parent 94dc538 commit 0b2d9bb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Doc/c-api/unicode.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,15 +1418,17 @@ They all return ``NULL`` or ``-1`` if an exception occurs.
14181418
a 3-tuple containing the part before the separator, the separator itself,
14191419
and the part after the separator. If the separator is not found,
14201420
return a 3-tuple containing the string itself, followed by two empty strings.
1421+
14211422
*sep* must not be empty.
14221423
14231424
14241425
.. c:function:: PyObject* PyUnicode_RPartition(PyObject *unicode, PyObject *sep)
14251426
14261427
Similar to :c:func:`PyUnicode_Partition`, but split a Unicode string at the
14271428
last occurrence of *sep*. If the separator is not found, return a 3-tuple
1428-
containing two empty strings, followed by the string itself. *sep* must
1429-
not be empty.
1429+
containing two empty strings, followed by the string itself.
1430+
1431+
*sep* must not be empty.
14301432
14311433
14321434
.. c:function:: PyObject* PyUnicode_Join(PyObject *separator, PyObject *seq)

0 commit comments

Comments
 (0)