Skip to content

Commit 0e52d8d

Browse files
committed
Suggestion
1 parent c19f46c commit 0e52d8d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/c-api/unicode.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,10 +1414,10 @@ They all return ``NULL`` or ``-1`` if an exception occurs.
14141414
14151415
.. c:function:: PyObject* PyUnicode_Partition(PyObject *unicode, PyObject *sep)
14161416
1417-
Split the string at the first occurrence of *sep*, and return a 3-tuple
1418-
containing the part before the separator, the separator itself, and the part
1419-
after the separator. If the separator is not found, return a 3-tuple
1420-
containing the string itself, followed by two empty strings.
1417+
Split the Unicode string at the first occurrence of *sep*, and return
1418+
a 3-tuple containing the part before the separator, the separator itself,
1419+
and the part after the separator. If the separator is not found,
1420+
return a 3-tuple containing the string itself, followed by two empty strings.
14211421
14221422
14231423
.. c:function:: PyObject* PyUnicode_RPartition(PyObject *unicode, PyObject *sep)

0 commit comments

Comments
 (0)