Skip to content

Commit b5bdc0c

Browse files
bpo-43565: Document PyUnicode_KIND's return type as an unsigned int (GH-25724) (GH-27439)
(cherry picked from commit 47fd472) Co-authored-by: Ammar Askar <[email protected]>
1 parent 405f5c5 commit b5bdc0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/unicode.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ access internal read-only data of Unicode objects:
149149
``PyUnicode_WCHAR_KIND`` is deprecated.
150150
151151
152-
.. c:function:: int PyUnicode_KIND(PyObject *o)
152+
.. c:function:: unsigned int PyUnicode_KIND(PyObject *o)
153153
154154
Return one of the PyUnicode kind constants (see above) that indicate how many
155155
bytes per character this Unicode object uses to store its data. *o* has to

0 commit comments

Comments
 (0)